function TaxonomyLocalTasksTest::getTaxonomyPageRoutes
Same name in other branches
- 9 core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php \Drupal\Tests\taxonomy\Unit\Menu\TaxonomyLocalTasksTest::getTaxonomyPageRoutes()
- 8.9.x core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php \Drupal\Tests\taxonomy\Unit\Menu\TaxonomyLocalTasksTest::getTaxonomyPageRoutes()
- 11.x core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php \Drupal\Tests\taxonomy\Unit\Menu\TaxonomyLocalTasksTest::getTaxonomyPageRoutes()
Provides a list of routes to test.
File
-
core/
modules/ taxonomy/ tests/ src/ Unit/ Menu/ TaxonomyLocalTasksTest.php, line 42
Class
- TaxonomyLocalTasksTest
- Tests existence of taxonomy local tasks.
Namespace
Drupal\Tests\taxonomy\Unit\MenuCode
public static function getTaxonomyPageRoutes() {
return [
[
'entity.taxonomy_term.canonical',
],
[
'entity.taxonomy_term.edit_form',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.