public function UserSectionStorageInterface::getPotentialEditorsRoles in Workbench Access 8
Gets a list of editors roles who may be assigned to a section.
Parameters
string $id: The section id.
Return value
array An array of role ids.
1 method overrides UserSectionStorageInterface::getPotentialEditorsRoles()
- UserSectionStorage::getPotentialEditorsRoles in src/
UserSectionStorage.php - Gets a list of editors roles who may be assigned to a section.
File
- src/
UserSectionStorageInterface.php, line 80
Class
- UserSectionStorageInterface
- Defines an interface for storing and retrieving sections for a user.
Namespace
Drupal\workbench_accessCode
public function getPotentialEditorsRoles($id);