function PathLegacyRoutesKernelTest::testLegacyCollectionRoute
@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
File
-
core/
modules/ path/ tests/ src/ Kernel/ PathLegacyRoutesKernelTest.php, line 45
Class
- PathLegacyRoutesKernelTest
- Tests the BC layer for the deprecated routes of the path module.
Namespace
Drupal\Tests\path\KernelCode
public function testLegacyCollectionRoute() {
$this->assertNotEmpty(Url::fromRoute('path.admin_overview')->toString());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.