webform_templates.routing.yml in Webform 6.x
Same filename and directory in other branches
modules/webform_templates/webform_templates.routing.yml
5 string references to YAML keys in webform_templates.routing.yml
- WebformBreadcrumbBuilder::build in src/
Breadcrumb/ WebformBreadcrumbBuilder.php - Builds the breadcrumb.
- WebformBreadcrumbBuilderTest::testBuildTemplates in tests/
src/ Kernel/ Breadcrumb/ WebformBreadcrumbBuilderTest.php - Test build templates breadcrumbs.
- WebformTemplatesController::index in modules/
webform_templates/ src/ Controller/ WebformTemplatesController.php - Returns the webform templates index page.
- WebformTemplatesFilterForm::buildForm in modules/
webform_templates/ src/ Form/ WebformTemplatesFilterForm.php - Form constructor.
- webform_templates_webform_help_info in modules/
webform_templates/ webform_templates.module - Implements hook_webform_help_info().
File
modules/webform_templates/webform_templates.routing.ymlView source
- entity.webform.templates:
- path: '/admin/structure/webform/templates'
- defaults:
- _controller: '\Drupal\webform_templates\Controller\WebformTemplatesController::index'
- _title: 'Webforms: Templates'
- requirements:
- _custom_access: '\Drupal\webform\Access\WebformAccountAccess::checkTemplatesAccess'
-
- entity.webform.templates.manage:
- path: '/admin/structure/webform/templates/manage'
- defaults:
- _controller: '\Drupal\webform_templates\Controller\WebformTemplatesController::index'
- _title: 'Webforms: Templates'
- manage: true
- requirements:
- _custom_access: '\Drupal\webform\Access\WebformAccountAccess::checkTemplatesAccess'
- _permission: 'administer webform templates'
-
- entity.webform.preview:
- path: '/webform/{webform}/preview'
- defaults:
- _controller: '\Drupal\webform_templates\Controller\WebformTemplatesController::previewForm'
- _title_callback: '\Drupal\webform_templates\Controller\WebformTemplatesController::previewtitle'
- requirements:
- _entity_access: 'webform.submission_page'
-
- entity.webform.templates.autocomplete:
- path: '/admin/structure/webform/templates/autocomplete'
- defaults:
- _controller: '\Drupal\webform\Controller\WebformEntityController::autocomplete'
- templates: TRUE
- requirements:
- _custom_access: '\Drupal\webform\Access\WebformAccountAccess::checkTemplatesAccess'