webform_cards.routing.yml in Webform 8.5
Same filename and directory in other branches
modules/webform_cards/webform_cards.routing.yml
3 string references to YAML keys in webform_cards.routing.yml
- WebformCardsRouteSubscriber::alterRoutes in modules/
webform_cards/ src/ Routing/ WebformCardsRouteSubscriber.php - Alters existing routes for a specific collection.
- webform_cards_form_webform_edit_form_alter in modules/
webform_cards/ webform_cards.module - Implements hook_form_FORM_ID_alter() for webform UI and source edit form.
- webform_cards_preprocess_menu_local_action in modules/
webform_cards/ webform_cards.module - Implements hook_preprocess_menu_local_action().
File
modules/webform_cards/webform_cards.routing.ymlView source
- entity.webform_ui.element.add_card:
- path: '/admin/structure/webform/manage/{webform}/element/add/card'
- defaults:
- _form: '\Drupal\webform_ui\Form\WebformUiElementAddForm'
- _title: 'Add card'
- type: webform_card
- requirements:
- _custom_access: '\Drupal\webform_ui\Access\WebformUiAccess::checkWebformElementAccess'
-
- entity.webform.cards_convert_form:
- path: '/admin/structure/webform/manage/{webform}/cards/convert'
- defaults:
- _form: '\Drupal\webform_cards\Form\WebformCardsConvertForm'
- _title: 'Convert wizard pages to cards'
- requirements:
- _entity_access: 'webform.update'