You are here

public function CalculatedGroupPermissionsItem::isAdmin in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Access/CalculatedGroupPermissionsItem.php \Drupal\group\Access\CalculatedGroupPermissionsItem::isAdmin()

Returns whether this item grants admin privileges in its scope.

Return value

bool Whether this item grants admin privileges.

Overrides CalculatedGroupPermissionsItemInterface::isAdmin

1 call to CalculatedGroupPermissionsItem::isAdmin()
CalculatedGroupPermissionsItem::hasPermission in src/Access/CalculatedGroupPermissionsItem.php
Returns whether this item has a given permission.

File

src/Access/CalculatedGroupPermissionsItem.php, line 88

Class

CalculatedGroupPermissionsItem
Represents a single entry for the calculated group permissions.

Namespace

Drupal\group\Access

Code

public function isAdmin() {
  return $this->isAdmin;
}