book.routing.yml
Same filename in other branches
17 string references to YAML keys in book.routing.yml
- BookController::adminOverview in core/
modules/ book/ src/ Controller/ BookController.php - Returns an administrative overview of all books.
- BookController::create in core/
modules/ book/ src/ Controller/ BookController.php - Instantiates a new instance of this class.
- BookLocalTasksTest::getBookAdminRoutes in core/
modules/ book/ tests/ src/ Unit/ Menu/ BookLocalTasksTest.php - Provides a list of routes to test.
- BookLocalTasksTest::getBookNodeRoutes in core/
modules/ book/ tests/ src/ Unit/ Menu/ BookLocalTasksTest.php - Provides a list of routes to test.
- BookLocalTasksTest::testBookAdminLocalTasks in core/
modules/ book/ tests/ src/ Unit/ Menu/ BookLocalTasksTest.php - Tests local task existence.
File
-
core/
modules/ book/ book.routing.yml
View source
- book.render:
- path: '/book'
- defaults:
- _controller: '\Drupal\book\Controller\BookController::bookRender'
- _title: 'Books'
- requirements:
- _permission: 'access content'
-
- book.admin:
- path: '/admin/structure/book'
- defaults:
- _controller: '\Drupal\book\Controller\BookController::adminOverview'
- _title: 'Books'
- requirements:
- _permission: 'administer book outlines'
-
- book.settings:
- path: '/admin/structure/book/settings'
- defaults:
- _form: '\Drupal\book\Form\BookSettingsForm'
- _title: 'Books'
- requirements:
- _permission: 'administer site configuration'
-
- book.export:
- path: '/book/export/{type}/{node}'
- defaults:
- _controller: '\Drupal\book\Controller\BookController::bookExport'
- requirements:
- _permission: 'access printer-friendly version'
- _entity_access: 'node.view'
- node: \d+
-
- entity.node.book_outline_form:
- path: '/node/{node}/outline'
- defaults:
- _entity_form: 'node.book_outline'
- _title: 'Outline'
- requirements:
- _permission: 'administer book outlines'
- _entity_access: 'node.view'
- node: \d+
- options:
- _node_operation_route: TRUE
-
- book.admin_edit:
- path: '/admin/structure/book/{node}'
- defaults:
- _form: '\Drupal\book\Form\BookAdminEditForm'
- _title: 'Re-order book pages and change titles'
- requirements:
- _permission: 'administer book outlines'
- _entity_access: 'node.view'
- node: \d+
-
- entity.node.book_remove_form:
- path: '/node/{node}/outline/remove'
- defaults:
- _form: '\Drupal\book\Form\BookRemoveForm'
- _title: 'Remove from outline'
- options:
- _node_operation_route: TRUE
- requirements:
- _permission: 'administer book outlines'
- _entity_access: 'node.view'
- _access_book_removable: 'TRUE'
- node: \d+
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.