You are here

public function PermissionInterface::setDefaultRoles in Organic groups 8

Sets the default roles.

Parameters

array $default_roles: The default roles.

Return value

$this

1 method overrides PermissionInterface::setDefaultRoles()
Permission::setDefaultRoles in src/Permission.php
Sets the default roles.

File

src/PermissionInterface.php, line 103

Class

PermissionInterface
Interface for OG permission classes.

Namespace

Drupal\og

Code

public function setDefaultRoles(array $default_roles);