function InOperator::init
Same name in other branches
- 9 core/modules/views/src/Plugin/views/filter/InOperator.php \Drupal\views\Plugin\views\filter\InOperator::init()
- 8.9.x core/modules/views/src/Plugin/views/filter/InOperator.php \Drupal\views\Plugin\views\filter\InOperator::init()
- 10 core/modules/views/src/Plugin/views/filter/InOperator.php \Drupal\views\Plugin\views\filter\InOperator::init()
Overrides FilterPluginBase::init
2 calls to InOperator::init()
- Bundle::init in core/
modules/ views/ src/ Plugin/ views/ filter/ Bundle.php - Overrides \Drupal\views\Plugin\views\HandlerBase::init().
- ManyToOne::init in core/
modules/ views/ src/ Plugin/ views/ filter/ ManyToOne.php - Overrides \Drupal\views\Plugin\views\HandlerBase::init().
2 methods override InOperator::init()
- Bundle::init in core/
modules/ views/ src/ Plugin/ views/ filter/ Bundle.php - Overrides \Drupal\views\Plugin\views\HandlerBase::init().
- ManyToOne::init in core/
modules/ views/ src/ Plugin/ views/ filter/ ManyToOne.php - Overrides \Drupal\views\Plugin\views\HandlerBase::init().
File
-
core/
modules/ views/ src/ Plugin/ views/ filter/ InOperator.php, line 43
Class
- InOperator
- Simple filter to handle matching of multiple options selectable via checkboxes.
Namespace
Drupal\views\Plugin\views\filterCode
public function init(ViewExecutable $view, DisplayPluginBase $display, ?array &$options = NULL) {
parent::init($view, $display, $options);
$this->valueTitle = $this->t('Options');
$this->valueOptions = NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.