public function AccessControlHierarchyInterface::addWhere in Workbench Access 8
Adds a where clause to a view when using a section filter.
Parameters
\Drupal\workbench_access\Plugin\views\filter\Section $filter: The views filter object provided by Workbench Access.
array $values: An array of values for the current view.
1 method overrides AccessControlHierarchyInterface::addWhere()
- AccessControlHierarchyBase::addWhere in src/
AccessControlHierarchyBase.php - Adds a where clause to a view when using a section filter.
File
- src/
AccessControlHierarchyInterface.php, line 241
Class
- AccessControlHierarchyInterface
- Defines a base hierarchy class that others may extend.
Namespace
Drupal\workbench_accessCode
public function addWhere(Section $filter, array $values);