permission_checker

Class

Drupal\Core\Session\PermissionChecker
1 string reference to permission_checker
UserSessionTest::testHasPermission in core/tests/Drupal/Tests/Core/Session/UserSessionTest.php
Tests the has permission method.

File

core/core.services.yml

View source
  1. class: Drupal\Core\Session\PermissionChecker
  2. arguments:
  3. - '@access_policy_processor'

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