You are here

public function RefinableCalculatedGroupPermissions::removeItems in Group 8

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

Removes all of the calculated permission items, regardless of scope.

Return value

$this

Overrides RefinableCalculatedGroupPermissionsInterface::removeItems

File

src/Access/RefinableCalculatedGroupPermissions.php, line 39

Class

RefinableCalculatedGroupPermissions
Represents a calculated set of group permissions with cacheable metadata.

Namespace

Drupal\group\Access

Code

public function removeItems() {
  $this->items = [];
  return $this;
}