You are here

public function Section::setScheme in Workbench Access 8

Same name in this branch
  1. 8 src/Plugin/views/filter/Section.php \Drupal\workbench_access\Plugin\views\filter\Section::setScheme()
  2. 8 src/Plugin/views/field/Section.php \Drupal\workbench_access\Plugin\views\field\Section::setScheme()

Sets access scheme.

Parameters

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

Return value

$this

1 method overrides Section::setScheme()
UserSection::setScheme in src/Plugin/views/field/UserSection.php
Sets access scheme.

File

src/Plugin/views/field/Section.php, line 46

Class

Section
Field handler to present the section assigned to the node.

Namespace

Drupal\workbench_access\Plugin\views\field

Code

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