# Webform composite routes.

entity.webform_composite.list:
  path: '/admin/structure/webform/config/composite'
  defaults:
    _entity_list: 'webform_composite'
    _title: 'Composite Elements'
  requirements:
    _permission: 'administer webform'
entity.webform_composite.add_form:
  path: '/admin/structure/webform/config/composite/add'
  defaults:
    _entity_form: 'webform_composite.add'
    _title: 'Add Composite'
  requirements:
    _permission: 'administer webform'
entity.webform_composite.edit_form:
  path: '/admin/structure/webform/config/composite/{webform_composite}'
  defaults:
    _entity_form: 'webform_composite.edit'
    _title_callback: '\Drupal\webform_composite\Controller\WebformCompositeController::editTitle'
  requirements:
    _permission: 'administer webform'
entity.webform_composite.source_form:
  path: '/admin/structure/webform/config/composite/{webform_composite}/source'
  defaults:
    _entity_form: 'webform_composite.source'
    _title_callback: '\Drupal\webform_composite\Controller\WebformCompositeController::sourceTitle'
  requirements:
    _permission: 'administer webform'
entity.webform_composite.delete_form:
  path: '/admin/structure/webform/config/composite/{webform_composite}/delete'
  defaults:
    _entity_form: 'webform_composite.delete'
    _title: 'Delete Composite'
  requirements:
    _permission: 'administer webform'
