You are here

tac_lite.routing.yml in Taxonomy Access Control Lite 8

File

tac_lite.routing.yml
View source
  1. tac_lite.administration:
  2. path: '/admin/config/people/tac_lite'
  3. defaults:
  4. _form: '\Drupal\tac_lite\Form\ConfigForm'
  5. _title: 'Access by Taxonomy'
  6. requirements:
  7. _permission: 'administer tac_lite'
  8. tac_lite.user_access:
  9. path: '/user/{user}/tac_lite'
  10. defaults:
  11. _form: '\Drupal\tac_lite\Form\UserAccessForm'
  12. _title: 'Access by Taxonomy'
  13. requirements:
  14. _permission: 'administer tac_lite'
  15. route_callbacks:
  16. - '\Drupal\tac_lite\Routing\TacLiteSchemes::routes'