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