webform_options_limit.routing.yml in Webform 6.x
Same filename and directory in other branches
modules/webform_options_limit/webform_options_limit.routing.yml
2 string references to YAML keys in webform_options_limit.routing.yml
- WebformOptionsLimitRouteSubscriber::alterRoutes in modules/
webform_options_limit/ src/ Routing/ WebformOptionsLimitRouteSubscriber.php - Alters existing routes for a specific collection.
- webform_options_limit_webform_help_info in modules/
webform_options_limit/ webform_options_limit.module - Implements hook_webform_help_info().
File
modules/webform_options_limit/webform_options_limit.routing.ymlView source
- entity.webform_options_limit.summary:
- path: '/admin/structure/webform/manage/{webform}/results/options-limit'
- defaults:
- _controller: '\Drupal\webform_options_limit\Controller\WebformOptionsLimitController::index'
- _title_callback: '\Drupal\webform\Controller\WebformEntityController::title'
- options:
- parameters:
- webform:
- type: 'entity:webform'
- requirements:
- _entity_access: 'webform.submission_view_any'
- _custom_access: '\Drupal\webform_options_limit\Access\WebformOptionsLimitAccess::checkAccess'
-
- # Webform node routes.
- # This route will be removed if the webform_node.module is not installed.
- # @see \Drupal\webform_options_limit\Routing\WebformOptionsLimitRouteSubscriber
-
- entity.node.webform_options_limit.summary:
- path: '/node/{node}/webform/results/options-limit'
- defaults:
- _controller: '\Drupal\webform_options_limit\Controller\WebformOptionsLimitController::index'
- _title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
- operation: webform_submission_view
- entity_access: 'webform.submission_view_any'
- options:
- parameters:
- node:
- type: 'entity:node'
- requirements:
- _custom_access: '\Drupal\webform_options_limit\Access\WebformOptionsLimitAccess::checkNodeAccess'