function ManyToOne::op_helper in Views (for Drupal 7) 8.3
File
- lib/
Drupal/ views/ Plugin/ views/ filter/ ManyToOne.php, line 130 - Definition of Drupal\views\Plugin\views\filter\ManyToOne.
Class
- ManyToOne
- Complex filter to handle filtering for many to one relationships, such as terms (many terms per node) or roles (many roles per user).
Namespace
Drupal\views\Plugin\views\filterCode
function op_helper() {
if (empty($this->value)) {
return;
}
$this->helper
->add_filter();
}