You are here

public function UserFilteredSelection::setScheme in Workbench Access 8

Sets access scheme.

Parameters

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

Return value

$this

File

src/Plugin/EntityReferenceSelection/UserFilteredSelection.php, line 71

Class

UserFilteredSelection
Provides specific access control for the user entity type.

Namespace

Drupal\workbench_access\Plugin\EntityReferenceSelection

Code

public function setScheme(AccessSchemeInterface $scheme) {
  $this->scheme = $scheme;
  return $this;
}