public function BookLocalTasksTest::getBookNodeRoutes in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php \Drupal\Tests\book\Unit\Menu\BookLocalTasksTest::getBookNodeRoutes()
Provides a list of routes to test.
File
- core/
modules/ book/ tests/ src/ Unit/ Menu/ BookLocalTasksTest.php, line 63 - Contains \Drupal\Tests\book\Unit\Menu\BookLocalTasksTest.
Class
- BookLocalTasksTest
- Tests existence of book local tasks.
Namespace
Drupal\Tests\book\Unit\MenuCode
public function getBookNodeRoutes() {
return array(
array(
'entity.node.canonical',
),
array(
'entity.node.book_outline_form',
),
);
}