You are here

webform_ui.links.action.yml in Webform 6.x

Same filename and directory in other branches
  1. 8.5 modules/webform_ui/webform_ui.links.action.yml
modules/webform_ui/webform_ui.links.action.yml

File

modules/webform_ui/webform_ui.links.action.yml
View source
  1. entity.webform_ui.element:
  2. route_name: entity.webform_ui.element
  3. title: 'Add element'
  4. class: '\Drupal\webform\Plugin\Menu\LocalAction\WebformDialogLocalAction'
  5. weight: 0
  6. dialog: normal
  7. attributes:
  8. id: 'webform-ui-add-element'
  9. appears_on:
  10. - entity.webform.edit_form
  11. entity.webform_ui.element.page:
  12. route_name: entity.webform_ui.element.add_page
  13. title: 'Add page'
  14. class: '\Drupal\webform\Plugin\Menu\LocalAction\WebformDialogLocalAction'
  15. weight: 10
  16. off_canvas: normal
  17. attributes:
  18. id: 'webform-ui-add-page'
  19. appears_on:
  20. - entity.webform.edit_form
  21. # Webform cards use 'weight: 20'.
  22. entity.webform_ui.element.layout:
  23. route_name: entity.webform_ui.element.add_layout
  24. title: 'Add layout'
  25. class: '\Drupal\webform\Plugin\Menu\LocalAction\WebformDialogLocalAction'
  26. weight: 30
  27. off_canvas: normal
  28. attributes:
  29. id: 'webform-ui-add-layout'
  30. appears_on:
  31. - entity.webform.edit_form