You are here

public function DefaultRoleEvent::offsetUnset in Organic groups 8

File

src/Event/DefaultRoleEvent.php, line 118

Class

DefaultRoleEvent
Event that is fired when default roles are compiled.

Namespace

Drupal\og\Event

Code

public function offsetUnset($key) {
  $this
    ->deleteRole($key);
}