You are here

protected function InOperator::defineOptions in EntityFieldQuery Views Backend 8

Information about options for all kinds of purposes will be held here.


'option_name' => array(
 - 'default' => default value,
 - 'contains' => (optional) array of items this contains, with its own
     defaults, etc. If contains is set, the default will be ignored and
     assumed to be array().
 ),

Return value

array Returns the options of this handler/plugin.

Overrides InOperator::defineOptions

1 call to InOperator::defineOptions()
FieldInOperator::defineOptions in src/Plugin/views/filter/FieldInOperator.php
Information about options for all kinds of purposes will be held here.
1 method overrides InOperator::defineOptions()
FieldInOperator::defineOptions in src/Plugin/views/filter/FieldInOperator.php
Information about options for all kinds of purposes will be held here.

File

src/Plugin/views/filter/InOperator.php, line 53
Contains \Drupal\efq_views\Plugin\views\filter\InOperator.

Class

InOperator
Simple filter to handle matching of multiple options selectable via checkboxes

Namespace

Drupal\efq_views\Plugin\views\filter

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['operator']['default'] = 'IN';
  return $options;
}