grep -nri "deprecated" core/modules/path
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:9: * Tests the BC layer for the deprecated routes of the path module.
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:22:   * @expectedDeprecation The 'path.admin_add' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.add_form' route instead. See https://www.drupal.org/node/3013865
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:29:   * @expectedDeprecation The 'path.admin_edit' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.edit_form' route instead. See https://www.drupal.org/node/3013865
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:36:   * @expectedDeprecation The 'path.delete' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.delete_form' route instead. See https://www.drupal.org/node/3013865
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:43:   * @expectedDeprecation The 'path.admin_overview' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.collection' route instead. See https://www.drupal.org/node/3013865
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:50:   * @expectedDeprecation The 'path.admin_overview_filter' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.collection' route instead. See https://www.drupal.org/node/3013865
core/modules/path/tests/src/Kernel/Migrate/d7/LegacyMigrateUrlAliasTest.php:107:    $this->expectDeprecation('UrlAlias is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the entity:path_alias destination instead. See https://www.drupal.org/node/3013865');
core/modules/path/tests/src/Kernel/Migrate/d6/LegacyMigrateUrlAliasTest.php:112:    $this->expectDeprecation('UrlAlias is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the entity:path_alias destination instead. See https://www.drupal.org/node/3013865');
core/modules/path/path.api.php:20: * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
core/modules/path/path.api.php:41: * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
core/modules/path/path.api.php:62: * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
core/modules/path/src/Tests/PathTestBase.php:5:@trigger_error(__NAMESPACE__ . '\PathTestBase is deprecated for removal before Drupal 9.0.0. Use Drupal\Tests\path\Functional\PathTestBase instead. See https://www.drupal.org/node/2999939', E_USER_DEPRECATED);
core/modules/path/src/Tests/PathTestBase.php:12: * @deprecated in drupal:8.?.? and is removed from drupal:9.0.0.
core/modules/path/src/Plugin/migrate/destination/UrlAlias.php:8:@trigger_error('UrlAlias is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the entity:path_alias destination instead. See https://www.drupal.org/node/3013865', E_USER_DEPRECATED);
core/modules/path/src/Plugin/migrate/destination/UrlAlias.php:17: * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
core/modules/path/src/Routing/RouteProcessor.php:45:      @trigger_error("The '{$route_name}' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the '{$redirected_route_names[$route_name]}' route instead. See https://www.drupal.org/node/3013865", E_USER_DEPRECATED);
 kim  …  drupal  drupal  app   9.0.x  grep -nri "deprecated" core/modules/path
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:9: * Tests the BC layer for the deprecated routes of the path module.
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:22:   * @expectedDeprecation The 'path.admin_add' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.add_form' route instead. See https://www.drupal.org/node/3013865
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:29:   * @expectedDeprecation The 'path.admin_edit' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.edit_form' route instead. See https://www.drupal.org/node/3013865
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:36:   * @expectedDeprecation The 'path.delete' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.delete_form' route instead. See https://www.drupal.org/node/3013865
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:43:   * @expectedDeprecation The 'path.admin_overview' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.collection' route instead. See https://www.drupal.org/node/3013865
core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php:50:   * @expectedDeprecation The 'path.admin_overview_filter' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.collection' route instead. See https://www.drupal.org/node/3013865
core/modules/path/tests/src/Kernel/Migrate/d7/LegacyMigrateUrlAliasTest.php:107:    $this->expectDeprecation('UrlAlias is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the entity:path_alias destination instead. See https://www.drupal.org/node/3013865');
core/modules/path/tests/src/Kernel/Migrate/d6/LegacyMigrateUrlAliasTest.php:112:    $this->expectDeprecation('UrlAlias is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the entity:path_alias destination instead. See https://www.drupal.org/node/3013865');
core/modules/path/path.api.php:20: * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
core/modules/path/path.api.php:41: * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
core/modules/path/path.api.php:62: * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
core/modules/path/src/Tests/PathTestBase.php:5:@trigger_error(__NAMESPACE__ . '\PathTestBase is deprecated for removal before Drupal 9.0.0. Use Drupal\Tests\path\Functional\PathTestBase instead. See https://www.drupal.org/node/2999939', E_USER_DEPRECATED);
core/modules/path/src/Tests/PathTestBase.php:12: * @deprecated in drupal:8.?.? and is removed from drupal:9.0.0.
core/modules/path/src/Plugin/migrate/destination/UrlAlias.php:8:@trigger_error('UrlAlias is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the entity:path_alias destination instead. See https://www.drupal.org/node/3013865', E_USER_DEPRECATED);
core/modules/path/src/Plugin/migrate/destination/UrlAlias.php:17: * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
core/modules/path/src/Routing/RouteProcessor.php:45:      @trigger_error("The '{$route_name}' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the '{$redirected_route_names[$route_name]}' route instead. See https://www.drupal.org/node/3013865", E_USER_DEPRECATED);
CommentFileSizeAuthor
#2 3097746-2.patch18.49 KBkim.pepper
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kim.pepper created an issue. See original summary.

kim.pepper’s picture

Status: Active » Needs review
FileSize
18.49 KB

This patch removes:

  • Deprecated hooks in path.api.php
  • BC layer route subscribers and processors and tests
  • Deprecated migrate plugins and tests
  • Legacy PathTestBase.php
kim.pepper’s picture

longwave’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, I can't find anything else that needs to be removed here.

larowlan’s picture

Status: Reviewed & tested by the community » Fixed

Committed b20f264 and pushed to 9.0.x. Thanks!

  • larowlan committed b20f264 on 9.0.x
    Issue #3097746 by kim.pepper: Remove all @deprecated code in the path...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.