tome_static.routing.yml in Tome 8
modules/tome_static/tome_static.routing.yml
2 string references to YAML keys in tome_static.routing.yml
- StaticDownloadController::build in modules/
tome_static/ src/ Controller/ StaticDownloadController.php - Presents a user interface to download a static build.
- StaticPreviewRequestSubscriber::onRequest in modules/
tome_static/ src/ EventSubscriber/ StaticPreviewRequestSubscriber.php - Sets a response in case of a Dynamic Page Cache hit.
File
modules/tome_static/tome_static.routing.ymlView source
- tome_static.main:
- path: '/admin/config/tome/static'
- defaults:
- _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
- _title: 'Tome Static'
- requirements:
- _permission: 'use tome static'
-
- tome_static.generate:
- path: '/admin/config/tome/static/generate'
- defaults:
- _form: 'Drupal\tome_static\Form\StaticGeneratorForm'
- _title: 'Generate static site'
- requirements:
- _permission: 'use tome static'
-
- tome_static.download_page:
- path: '/admin/config/tome/static/download'
- defaults:
- _controller: 'Drupal\tome_static\Controller\StaticDownloadController::build'
- _title: 'Download static site'
- requirements:
- _permission: 'use tome static'
-
- tome_static.download:
- path: '/admin/config/tome/static/download-archive'
- defaults:
- _controller: 'Drupal\tome_static\Controller\StaticDownloadController::download'
- _title: 'Download export'
- requirements:
- _permission: 'use tome static'
- _custom_access: 'Drupal\tome_static\Controller\StaticDownloadController::downloadAccess'
-
- tome_static.preview_form:
- path: '/admin/config/tome/static/preview'
- defaults:
- _form: 'Drupal\tome_static\Form\StaticPreviewForm'
- _title: 'Preview static site'
- requirements:
- _permission: 'use tome static'
-
- tome_static.preview_exit:
- path: '/admin/config/tome/static/preview-exit'
- defaults:
- _controller: 'Drupal\tome_static\Controller\StaticPreviewController::build'
- _title: 'Exit static site preview'
- requirements:
- _permission: 'use tome static'