You are here

public function PermissionEvent::offsetExists in Organic groups 8

File

src/Event/PermissionEvent.php, line 244

Class

PermissionEvent
Event that is fired when OG permissions are compiled.

Namespace

Drupal\og\Event

Code

public function offsetExists($key) {
  return $this
    ->hasPermission($key);
}