agreement.routing.yml in Agreement 3.0.x
Same filename and directory in other branches
4 string references to YAML keys in agreement.routing.yml
- AgreementDeleteForm::getCancelUrl in src/
Entity/ AgreementDeleteForm.php - Returns the route to go to if the user cancels the action.
- AgreementDeleteForm::submitForm in src/
Entity/ AgreementDeleteForm.php - This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
- AgreementForm::actions in src/
Entity/ AgreementForm.php - Returns an array of supported actions for the current entity form.
- AgreementForm::submitForm in src/
Entity/ AgreementForm.php - This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
File
agreement.routing.ymlView source
- entity.agreement.collection:
- path: '/admin/config/people/agreement'
- defaults:
- _title: 'Agreements'
- _entity_list: 'agreement'
- requirements:
- _permission: 'administer agreements'
-
- agreement.add:
- path: '/admin/config/people/agreement/add'
- defaults:
- _entity_form: 'agreement.default'
- _title: 'Add Agreement'
- requirements:
- _permission: 'administer agreements'
-
- entity.agreement.edit_form:
- path: '/admin/config/people/agreement/manage/{agreement}'
- defaults:
- _entity_form: 'agreement.default'
- requirements:
- agreement: '[a-z0-9_]+'
- _permission: 'administer agreements'
- options:
- parameters:
- agreement:
- type: 'entity:agreement'
-
- entity.agreement.delete_form:
- path: '/admin/config/people/agreement/manage/{agreement}/delete'
- defaults:
- _entity_form: 'agreement.delete'
- requirements:
- agreement: '[a-z0-9_]+'
- _permission: 'administer agreements'
- options:
- parameters:
- agreement:
- type: 'entity:agreement'