You are here

public function UserSection::setScheme in Workbench Access 8

Sets access scheme.

Parameters

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

Return value

$this

Overrides Section::setScheme

File

src/Plugin/views/field/UserSection.php, line 76

Class

UserSection
Field handler to present the section assigned to the user.

Namespace

Drupal\workbench_access\Plugin\views\field

Code

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