public function CalculatedGroupPermissionsInterface::getItem in Group 8
Same name and namespace in other branches
- 2.0.x src/Access/CalculatedGroupPermissionsInterface.php \Drupal\group\Access\CalculatedGroupPermissionsInterface::getItem()
Retrieves a single calculated permission item from a given scope.
Parameters
$scope: The scope name to retrieve the item for.
$identifier: The scope identifier to retrieve the item for.
Return value
\Drupal\group\Access\CalculatedGroupPermissionsItemInterface|false The calculated permission item or FALSE if it could not be found.
File
- src/
Access/ CalculatedGroupPermissionsInterface.php, line 23
Class
- CalculatedGroupPermissionsInterface
- Defines the calculated group permissions interface.
Namespace
Drupal\group\AccessCode
public function getItem($scope, $identifier);