public function CalculatedGroupPermissionsInterface::getItem in Group 2.0.x
Same name and namespace in other branches
- 8 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);