You are here

permissions_by_term.routing.yml in Permissions by Term 8.2

Same filename and directory in other branches
  1. 8 permissions_by_term.routing.yml

File

permissions_by_term.routing.yml
View source
  1. permissions_by_term.autocomplete_multiple:
  2. path: '/permissions-by-term/autocomplete'
  3. defaults:
  4. _title: ''
  5. _controller: '\Drupal\permissions_by_term\Controller\PermissionsByTermController::autoCompleteMultiple'
  6. requirements:
  7. _permission: 'access user profiles'
  8. permissions_by_term.settings:
  9. path: '/admin/permissions-by-term/settings'
  10. defaults:
  11. _form: 'Drupal\permissions_by_term\Form\SettingsForm'
  12. _title: 'Permissions by Term Settings'
  13. requirements:
  14. _permission: 'access pbt settings'
  15. permissions_by_term.access_info_by_content_type:
  16. path: '/admin/permissions-by-term/access-info-by-content-type/{nodeType}'
  17. defaults:
  18. _title: ''
  19. _controller: '\Drupal\permissions_by_term\Controller\NodeEntityBundleController::getFormInfoByContentType'
  20. requirements:
  21. _permission: 'show term permissions on node edit page'
  22. user: '^[a-zA-Z0-9_]+'
  23. permissions_by_term.access_info_by_url:
  24. path: '/admin/permissions-by-term/access-info-by-url'
  25. defaults:
  26. _title: ''
  27. _controller: '\Drupal\permissions_by_term\Controller\NodeEntityBundleController::getFormInfoByUrl'
  28. requirements:
  29. _permission: 'show term permissions on node edit page'
  30. user: '^[a-zA-Z0-9_]+'