public function RefinableCalculatedGroupPermissions::removeItems in Group 2.0.x
Same name and namespace in other branches
- 8 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\AccessCode
public function removeItems() {
$this->items = [];
return $this;
}