You are here

entity_embed.routing.yml in Entity Embed 8

File

entity_embed.routing.yml
View source
  1. entity_embed.dialog:
  2. path: '/entity-embed/dialog/{editor}/{embed_button}'
  3. defaults:
  4. _form: '\Drupal\entity_embed\Form\EntityEmbedDialog'
  5. _title: 'Embed entity'
  6. requirements:
  7. _embed_button_editor_access: 'TRUE'
  8. entity_embed.preview:
  9. path: '/entity-embed/preview/{filter_format}'
  10. defaults:
  11. _controller: '\Drupal\entity_embed\Controller\PreviewController::preview'
  12. requirements:
  13. _entity_access: 'filter_format.use'