menu_example.access_check.role
Same name in other branches
- 3.x modules/menu_example/menu_example.services.yml \menu_example.access_check.role
- 4.0.x modules/menu_example/menu_example.services.yml \menu_example.access_check.role
Class
Drupal\menu_example\Access\RoleAccessCheckTags
- access_check
File
-
menu_example/
menu_example.services.yml
View source
- class: Drupal\menu_example\Access\RoleAccessCheck
- arguments:
- - '@current_user'
- tags:
- - { name: access_check, applies_to: _menu_example_role }