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

File

src/Plugin/views/filter/Section.php, line 91

Class

Section
Filter by assigned section.

Namespace

Drupal\workbench_access\Plugin\views\filter

Code

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