You are here

protected function ManyToOne::opHelper in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/filter/ManyToOne.php \Drupal\views\Plugin\views\filter\ManyToOne::opHelper()

File

core/modules/views/src/Plugin/views/filter/ManyToOne.php, line 133
Contains \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\filter

Code

protected function opHelper() {
  if (empty($this->value)) {
    return;
  }
  $this->helper
    ->addFilter();
}