contact.routing.yml

Same filename in other branches
  1. 9 core/modules/contact/contact.routing.yml
  2. 10 core/modules/contact/contact.routing.yml
  3. 11.x core/modules/contact/contact.routing.yml
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.yml

View source
  1. entity.contact_form.delete_form:
  2. path: '/admin/structure/contact/manage/{contact_form}/delete'
  3. defaults:
  4. _entity_form: 'contact_form.delete'
  5. _title: 'Delete'
  6. requirements:
  7. _entity_access: 'contact_form.delete'
  8. entity.contact_form.collection:
  9. path: '/admin/structure/contact'
  10. defaults:
  11. _entity_list: 'contact_form'
  12. _title: 'Contact forms'
  13. requirements:
  14. _permission: 'administer contact forms'
  15. contact.form_add:
  16. path: '/admin/structure/contact/add'
  17. defaults:
  18. _entity_form: 'contact_form.add'
  19. _title: 'Add contact form'
  20. requirements:
  21. _permission: 'administer contact forms'
  22. entity.contact_form.edit_form:
  23. path: '/admin/structure/contact/manage/{contact_form}'
  24. defaults:
  25. _entity_form: 'contact_form.edit'
  26. _title: 'Edit contact form'
  27. requirements:
  28. _entity_access: 'contact_form.update'
  29. contact.site_page:
  30. path: '/contact'
  31. defaults:
  32. _title: 'Contact'
  33. _controller: '\Drupal\contact\Controller\ContactController::contactSitePage'
  34. contact_form: NULL
  35. requirements:
  36. _permission: 'access site-wide contact form'
  37. entity.contact_form.canonical:
  38. path: '/contact/{contact_form}'
  39. defaults:
  40. _title: 'Contact'
  41. _controller: '\Drupal\contact\Controller\ContactController::contactSitePage'
  42. requirements:
  43. _entity_access: 'contact_form.view'
  44. entity.user.contact_form:
  45. path: '/user/{user}/contact'
  46. defaults:
  47. _title: 'Contact'
  48. _controller: '\Drupal\contact\Controller\ContactController::contactPersonalPage'
  49. requirements:
  50. _access_contact_personal_tab: 'TRUE'
  51. user: \d+

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.