You are here

public function RoleSectionStorageInterface::getPotentialRoles in Workbench Access 8

Gets a list of potential roles.

Parameters

string $id: The section id.

Return value

array An array of roles keyed by rid with name values.

1 method overrides RoleSectionStorageInterface::getPotentialRoles()
RoleSectionStorage::getPotentialRoles in src/RoleSectionStorage.php
Gets a list of potential roles.

File

src/RoleSectionStorageInterface.php, line 46

Class

RoleSectionStorageInterface
Defines an interface for storing and retrieving sections for a role.

Namespace

Drupal\workbench_access

Code

public function getPotentialRoles($id);