function UserRolesAccessPolicy::__construct

Same name in other branches
  1. 10 core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php \Drupal\Core\Session\UserRolesAccessPolicy::__construct()

File

core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php, line 14

Class

UserRolesAccessPolicy
Grants permissions based on a user's roles.

Namespace

Drupal\Core\Session

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager) {
}

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