You are here

layout.routing.yml in Layout 8.2

File

layout.routing.yml
View source
  1. layout.list:
  2. path: '/admin/structure/templates'
  3. defaults:
  4. _content: '\Drupal\layout\Controller\LayoutController::layoutPageList'
  5. requirements:
  6. _permission: 'administer layouts'
  7. layout.view:
  8. path: '/admin/structure/templates/manage/{key}'
  9. defaults:
  10. _content: '\Drupal\layout\Controller\LayoutController::layoutPageView'
  11. _title: 'View template'
  12. options:
  13. _access_mode: 'ALL'
  14. requirements:
  15. _permission: 'administer layouts'
  16. _custom_access: '\Drupal\layout\Controller\LayoutController::checkAccess'