public function DefaultRoleEvent::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.
Overrides DefaultRoleEventInterface::getRoles
File
- src/
Event/ DefaultRoleEvent.php, line 39
Class
- DefaultRoleEvent
- Event that is fired when default roles are compiled.
Namespace
Drupal\og\EventCode
public function getRoles() {
return $this->roles;
}