menu_example.access_check.role

Same name in other branches
  1. 8.x-1.x menu_example/menu_example.services.yml \menu_example.access_check.role
  2. 4.0.x modules/menu_example/menu_example.services.yml \menu_example.access_check.role

Class

Drupal\menu_example\Access\RoleAccessCheck

Tags

  • access_check

File

modules/menu_example/menu_example.services.yml

View source
  1. class: Drupal\menu_example\Access\RoleAccessCheck
  2. arguments:
  3. - '@current_user'
  4. tags:
  5. - { name: access_check, applies_to: _menu_example_role }