You are here

public function Permission::getDefaultRoles in Organic groups 8

Returns the default roles.

Return value

array The default roles.

Overrides PermissionInterface::getDefaultRoles

File

src/Permission.php, line 127

Class

Permission
Base class for OG permissions.

Namespace

Drupal\og

Code

public function getDefaultRoles() {
  return $this
    ->get('default roles');
}