You are here

webform_cards.routing.yml in Webform 8.5

Same filename and directory in other branches
  1. 6.x modules/webform_cards/webform_cards.routing.yml
modules/webform_cards/webform_cards.routing.yml

File

modules/webform_cards/webform_cards.routing.yml
View source
  1. entity.webform_ui.element.add_card:
  2. path: '/admin/structure/webform/manage/{webform}/element/add/card'
  3. defaults:
  4. _form: '\Drupal\webform_ui\Form\WebformUiElementAddForm'
  5. _title: 'Add card'
  6. type: webform_card
  7. requirements:
  8. _custom_access: '\Drupal\webform_ui\Access\WebformUiAccess::checkWebformElementAccess'
  9. entity.webform.cards_convert_form:
  10. path: '/admin/structure/webform/manage/{webform}/cards/convert'
  11. defaults:
  12. _form: '\Drupal\webform_cards\Form\WebformCardsConvertForm'
  13. _title: 'Convert wizard pages to cards'
  14. requirements:
  15. _entity_access: 'webform.update'