book.routing.yml 805 Bytes
Newer Older
1 2 3 4 5 6 7 8
book_render:
  pattern: '/book'
  defaults:
    _content: '\Drupal\book\Controller\BookController::bookRender'
  requirements:
    _permission: 'access content'

book_admin:
9
  pattern: '/admin/structure/book'
10 11 12 13 14
  defaults:
    _content: '\Drupal\book\Controller\BookController::adminOverview'
  requirements:
    _permission: 'administer book outlines'

15
book_settings:
16
  pattern: '/admin/structure/book/settings'
17
  defaults:
18
    _form: 'Drupal\book\Form\BookSettingsForm'
19 20
  requirements:
    _permission: 'administer site configuration'
21 22 23 24 25 26 27 28 29 30

book_export:
  pattern: '/book/export/{type}/{node}'
  defaults:
    _controller: '\Drupal\book\Controller\BookController::bookExport'
  options:
    _access_mode: 'ALL'
  requirements:
    _permission: 'access printer-friendly version'
    _entity_access: 'node.view'