function BookLocalTasksTest::getBookAdminRoutes
Same name in other branches
- 8.9.x core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php \Drupal\Tests\book\Unit\Menu\BookLocalTasksTest::getBookAdminRoutes()
- 10 core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php \Drupal\Tests\book\Unit\Menu\BookLocalTasksTest::getBookAdminRoutes()
- 11.x core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php \Drupal\Tests\book\Unit\Menu\BookLocalTasksTest::getBookAdminRoutes()
Provides a list of routes to test.
File
-
core/
modules/ book/ tests/ src/ Unit/ Menu/ BookLocalTasksTest.php, line 40
Class
- BookLocalTasksTest
- Tests existence of book local tasks.
Namespace
Drupal\Tests\book\Unit\MenuCode
public function getBookAdminRoutes() {
return [
[
'book.admin',
],
[
'book.settings',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.