You are here

public function DefaultRoleEventInterface::getRoles in Organic groups 8

Returns all the default role names.

Return value

array An associative array of default role properties, keyed by role name.

1 method overrides DefaultRoleEventInterface::getRoles()
DefaultRoleEvent::getRoles in src/Event/DefaultRoleEvent.php
Returns all the default role names.

File

src/Event/DefaultRoleEventInterface.php, line 42

Class

DefaultRoleEventInterface
Interface for DefaultRoleEvent classes.

Namespace

Drupal\og\Event

Code

public function getRoles();