public function Section::setScheme in Workbench Access 8
Same name in this branch
- 8 src/Plugin/views/filter/Section.php \Drupal\workbench_access\Plugin\views\filter\Section::setScheme()
- 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\filterCode
public function setScheme(AccessSchemeInterface $scheme) {
$this->scheme = $scheme;
return $this;
}