public function CalculatedGroupPermissionsTrait::getItemsByScope in Group 8
Same name and namespace in other branches
- 2.0.x src/Access/CalculatedGroupPermissionsTrait.php \Drupal\group\Access\CalculatedGroupPermissionsTrait::getItemsByScope()
File
- src/
Access/ CalculatedGroupPermissionsTrait.php, line 42
Class
Namespace
Drupal\group\AccessCode
public function getItemsByScope($scope) {
return isset($this->items[$scope]) ? array_values($this->items[$scope]) : [];
}