You are here

public function UserSectionStorageInterface::getEditors in Workbench Access 8

Gets a list of editors assigned to a section.

This method does not return editors assigned by role.

Parameters

\Drupal\workbench_access\Entity\AccessSchemeInterface $scheme: Access scheme.

string $id: The section id.

Return value

array An array keyed user ids with values of user labels (names).

1 method overrides UserSectionStorageInterface::getEditors()
UserSectionStorage::getEditors in src/UserSectionStorage.php
Gets a list of editors assigned to a section.

File

src/UserSectionStorageInterface.php, line 56

Class

UserSectionStorageInterface
Defines an interface for storing and retrieving sections for a user.

Namespace

Drupal\workbench_access

Code

public function getEditors(AccessSchemeInterface $scheme, $id);