public function RoleSectionStorageInterface::getPotentialRolesFiltered in Workbench Access 8
Gets a list of potential roles for assigning users.
Parameters
string $id: The section id.
Return value
array An array of roles keyed by rid with rid values.
1 method overrides RoleSectionStorageInterface::getPotentialRolesFiltered()
- RoleSectionStorage::getPotentialRolesFiltered in src/
RoleSectionStorage.php - Gets a list of potential roles for assigning users.
File
- src/
RoleSectionStorageInterface.php, line 57
Class
- RoleSectionStorageInterface
- Defines an interface for storing and retrieving sections for a role.
Namespace
Drupal\workbench_accessCode
public function getPotentialRolesFiltered($id);