public function TaxonomyLocalTasksTest::getTaxonomyPageRoutes in Drupal 10
Same name and namespace in other branches
- 8 core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php \Drupal\Tests\taxonomy\Unit\Menu\TaxonomyLocalTasksTest::getTaxonomyPageRoutes()
- 9 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 37
Class
- TaxonomyLocalTasksTest
- Tests existence of taxonomy local tasks.
Namespace
Drupal\Tests\taxonomy\Unit\MenuCode
public function getTaxonomyPageRoutes() {
return [
[
'entity.taxonomy_term.canonical',
],
[
'entity.taxonomy_term.edit_form',
],
];
}