function CalculatedPermissionsTrait::getItemsByScope
Same name in other branches
- 10 core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php \Drupal\Core\Session\CalculatedPermissionsTrait::getItemsByScope()
File
-
core/
lib/ Drupal/ Core/ Session/ CalculatedPermissionsTrait.php, line 45
Class
Namespace
Drupal\Core\SessionCode
public function getItemsByScope(string $scope = AccessPolicyInterface::SCOPE_DRUPAL) : array {
return isset($this->items[$scope]) ? array_values($this->items[$scope]) : [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.