You are here

public function AccessManagerInterface::managedRoles in Administer Users by Role 8.3

Returns a list of all roles that are available to be managed by this module.

Return value

\Drupal\user\RoleInterface[] An associative array with the role id as the key and the role object as value.

1 method overrides AccessManagerInterface::managedRoles()
AccessManager::managedRoles in src/Services/AccessManager.php
Returns a list of all roles that are available to be managed by this module.

File

src/Services/AccessManagerInterface.php, line 65

Class

AccessManagerInterface
Interface for access manager service.

Namespace

Drupal\administerusersbyrole\Services

Code

public function managedRoles();