You are here

public function DefaultRoleEvent::offsetGet in Organic groups 8

File

src/Event/DefaultRoleEvent.php, line 100

Class

DefaultRoleEvent
Event that is fired when default roles are compiled.

Namespace

Drupal\og\Event

Code

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