contact.routing.yml in Drupal 9
Same filename and directory in other branches
core/modules/contact/contact.routing.yml
4 string references to YAML keys in contact.routing.yml
- AjaxTestController::dialog in core/
modules/ system/ tests/ modules/ ajax_test/ src/ Controller/ AjaxTestController.php - Returns a render array of form elements and links for dialog.
- ContactLink::getUrlInfo in core/
modules/ contact/ src/ Plugin/ views/ field/ ContactLink.php - Returns the URI elements of the link.
- contact_menu_local_tasks_alter in core/
modules/ contact/ contact.module - Implements hook_menu_local_tasks_alter().
- StandardTest::testStandard in core/
profiles/ standard/ tests/ src/ Functional/ StandardTest.php - Tests Standard installation profile.
File
core/modules/contact/contact.routing.ymlView source
- entity.contact_form.delete_form:
- path: '/admin/structure/contact/manage/{contact_form}/delete'
- defaults:
- _entity_form: 'contact_form.delete'
- _title: 'Delete'
- requirements:
- _entity_access: 'contact_form.delete'
-
- entity.contact_form.collection:
- path: '/admin/structure/contact'
- defaults:
- _entity_list: 'contact_form'
- _title: 'Contact forms'
- requirements:
- _permission: 'administer contact forms'
-
- contact.form_add:
- path: '/admin/structure/contact/add'
- defaults:
- _entity_form: 'contact_form.add'
- _title: 'Add contact form'
- requirements:
- _permission: 'administer contact forms'
-
- entity.contact_form.edit_form:
- path: '/admin/structure/contact/manage/{contact_form}'
- defaults:
- _entity_form: 'contact_form.edit'
- _title: 'Edit contact form'
- requirements:
- _entity_access: 'contact_form.update'
-
- contact.site_page:
- path: '/contact'
- defaults:
- _title: 'Contact'
- _controller: '\Drupal\contact\Controller\ContactController::contactSitePage'
- contact_form: NULL
- requirements:
- _permission: 'access site-wide contact form'
-
- entity.contact_form.canonical:
- path: '/contact/{contact_form}'
- defaults:
- _title: 'Contact'
- _controller: '\Drupal\contact\Controller\ContactController::contactSitePage'
- requirements:
- _entity_access: 'contact_form.view'
-
- entity.user.contact_form:
- path: '/user/{user}/contact'
- defaults:
- _title: 'Contact'
- _controller: '\Drupal\contact\Controller\ContactController::contactPersonalPage'
- requirements:
- _access_contact_personal_tab: 'TRUE'
- user: \d+