You are here

public function PermissionEvent::getIterator in Organic groups 8

File

src/Event/PermissionEvent.php, line 251

Class

PermissionEvent
Event that is fired when OG permissions are compiled.

Namespace

Drupal\og\Event

Code

public function getIterator() {
  return new \ArrayIterator($this->permissions);
}