You are here

public function PermissionEvent::offsetGet in Organic groups 8

File

src/Event/PermissionEvent.php, line 215

Class

PermissionEvent
Event that is fired when OG permissions are compiled.

Namespace

Drupal\og\Event

Code

public function offsetGet($key) {
  return $this
    ->getPermission($key);
}