You are here

public function CalculatedGroupPermissionsTrait::getItem in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Access/CalculatedGroupPermissionsTrait.php \Drupal\group\Access\CalculatedGroupPermissionsTrait::getItem()
1 call to CalculatedGroupPermissionsTrait::getItem()
RefinableCalculatedGroupPermissions::addItem in src/Access/RefinableCalculatedGroupPermissions.php
Adds a calculated permission item.

File

src/Access/CalculatedGroupPermissionsTrait.php, line 20

Class

CalculatedGroupPermissionsTrait
Trait for \Drupal\group\Access\CalculatedGroupPermissionsInterface.

Namespace

Drupal\group\Access

Code

public function getItem($scope, $identifier) {
  return isset($this->items[$scope][$identifier]) ? $this->items[$scope][$identifier] : FALSE;
}