public function FilterPluginBase::operatorOptions

Provide a list of options for the default operator form. Should be overridden by classes that don't override operatorForm

2 calls to FilterPluginBase::operatorOptions()
FilterPluginBase::canBuildGroup in drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
Determine if a filter can be converted into a group. Only exposed filters with operators available can be converted into groups.
FilterPluginBase::operatorForm in drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
Options form subform for setting the operator.
4 methods override FilterPluginBase::operatorOptions()
Equality::operatorOptions in drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/Equality.php
Provide simple equality operator
InOperator::operatorOptions in drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/InOperator.php
Build strings from the operators() for 'select' options
Numeric::operatorOptions in drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/Numeric.php
Provide a list of all the numeric operators
String::operatorOptions in drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php
Build strings from the operators() for 'select' options

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php, line 298
Definition of Drupal\views\Plugin\views\filter\FilterPluginBase.

Class

FilterPluginBase
Base class for filters.

Namespace

Drupal\views\Plugin\views\filter

Code

public function operatorOptions() {
  return array();
}