synonyms.routing.yml in Synonyms 2.0.x
File
synonyms.routing.yml
View source
- synonyms.settings:
- path: '/admin/structure/synonyms/settings'
- defaults:
- _form: '\Drupal\synonyms\Form\SettingsForm'
- _title: 'Synonyms settings'
- requirements:
- _permission: 'administer site configuration'
-
- synonyms.overview:
- path: '/admin/structure/synonyms'
- defaults:
- _controller: 'Drupal\synonyms\Controller\SynonymConfigController::overview'
- _title: 'Synonyms configuration'
- requirements:
- _permission: 'administer synonyms'
-
- synonym.entity_type.bundle:
- path: '/admin/structure/synonyms/synonym/{synonyms_entity_type}/{bundle}'
- options:
- parameters:
- synonyms_entity_type:
- type: synonyms_entity_type
- bundle:
- type: bundle
- defaults:
- _controller: 'Drupal\synonyms\Controller\SynonymConfigController::entityTypeBundleProviders'
- _title: 'Synonyms Providers'
- _title_callback: 'Drupal\synonyms\Controller\SynonymConfigController::entityTypeBundleProvidersTitle'
- requirements:
- _permission: 'administer synonyms'
-
- behavior.entity_type.bundle:
- path: '/admin/structure/synonyms/behavior/{synonyms_entity_type}/{bundle}'
- options:
- parameters:
- synonyms_entity_type:
- type: synonyms_entity_type
- bundle:
- type: bundle
- defaults:
- _form: '\Drupal\synonyms\Form\BehaviorForm'
- _title: 'Manage behaviors'
- _title_callback: 'Drupal\synonyms\Form\BehaviorForm::entityTypeBundleBehaviorsTitle'
- requirements:
- _permission: 'administer site configuration'
-
- synonym.entity_type.bundle.add_form:
- path: '/admin/structure/synonyms/{synonyms_entity_type}/{bundle}/add'
- options:
- parameters:
- synonyms_entity_type:
- type: synonyms_entity_type
- bundle:
- type: bundle
- defaults:
- _entity_form: 'synonym.add'
- _title: 'Add provider'
- requirements:
- _permission: 'administer synonyms'
-
- entity.synonym.edit_form:
- path: '/admin/structure/synonyms/{synonym}'
- defaults:
- _entity_form: 'synonym.edit'
- _title: 'Edit provider'
- requirements:
- _permission: 'administer synonyms'
-
- entity.synonym.delete_form:
- path: '/admin/structure/synonyms/{synonym}/delete'
- defaults:
- _entity_form: 'synonym.delete'
- _title: 'Delete provider'
- requirements:
- _permission: 'administer synonyms'