"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.9/core/modules/book/book.routing.yml" (18 Nov 2020, 1744 Bytes) of package /linux/www/drupal-8.9.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 book.render:
    2   path: '/book'
    3   defaults:
    4     _controller: '\Drupal\book\Controller\BookController::bookRender'
    5     _title: 'Books'
    6   requirements:
    7     _permission: 'access content'
    8 
    9 book.admin:
   10   path: '/admin/structure/book'
   11   defaults:
   12     _controller: '\Drupal\book\Controller\BookController::adminOverview'
   13     _title: 'Books'
   14   requirements:
   15     _permission: 'administer book outlines'
   16 
   17 book.settings:
   18   path: '/admin/structure/book/settings'
   19   defaults:
   20     _form: '\Drupal\book\Form\BookSettingsForm'
   21     _title: 'Books'
   22   requirements:
   23     _permission: 'administer site configuration'
   24 
   25 book.export:
   26   path: '/book/export/{type}/{node}'
   27   defaults:
   28     _controller: '\Drupal\book\Controller\BookController::bookExport'
   29   requirements:
   30     _permission: 'access printer-friendly version'
   31     _entity_access: 'node.view'
   32     node: \d+
   33 
   34 entity.node.book_outline_form:
   35   path: '/node/{node}/outline'
   36   defaults:
   37     _entity_form: 'node.book_outline'
   38     _title: 'Outline'
   39   requirements:
   40     _permission: 'administer book outlines'
   41     _entity_access: 'node.view'
   42     node: \d+
   43   options:
   44     _node_operation_route: TRUE
   45 
   46 book.admin_edit:
   47   path: '/admin/structure/book/{node}'
   48   defaults:
   49     _form: '\Drupal\book\Form\BookAdminEditForm'
   50     _title: 'Re-order book pages and change titles'
   51   requirements:
   52     _permission: 'administer book outlines'
   53     _entity_access: 'node.view'
   54     node: \d+
   55 
   56 entity.node.book_remove_form:
   57   path: '/node/{node}/outline/remove'
   58   defaults:
   59     _form: '\Drupal\book\Form\BookRemoveForm'
   60     _title: 'Remove from outline'
   61   options:
   62     _node_operation_route: TRUE
   63   requirements:
   64     _permission: 'administer book outlines'
   65     _entity_access: 'node.view'
   66     _access_book_removable: 'TRUE'
   67     node: \d+