You are here

public function PermissionEvent::getPermissions in Organic groups 8

Returns all the permissions.

Return value

\Drupal\og\PermissionInterface[] An associative array of permissions, keyed by permission name.

Overrides PermissionEventInterface::getPermissions

1 call to PermissionEvent::getPermissions()
PermissionEvent::getGroupContentOperationPermission in src/Event/PermissionEvent.php
Returns a group content operation permission by its identifying properties.

File

src/Event/PermissionEvent.php, line 103

Class

PermissionEvent
Event that is fired when OG permissions are compiled.

Namespace

Drupal\og\Event

Code

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