function QueryPluginBase::set_group_operator in Views (for Drupal 7) 8.3
Control how all WHERE and HAVING groups are put together.
Parameters
$type: Either 'AND' or 'OR'
File
- lib/
Drupal/ views/ Plugin/ views/ query/ QueryPluginBase.php, line 152 - Definition of Drupal\views\Plugin\views\query\QueryPluginBase.
Class
- QueryPluginBase
- @todo.
Namespace
Drupal\views\Plugin\views\queryCode
function set_group_operator($type = 'AND') {
$this->group_operator = strtoupper($type);
}