You are here

public function FilterPluginBase::operatorOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\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 core/modules/views/src/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 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Options form subform for setting the operator.
5 methods override FilterPluginBase::operatorOptions()
BooleanOperator::operatorOptions in core/modules/views/src/Plugin/views/filter/BooleanOperator.php
Provide a list of options for the default operator form. Should be overridden by classes that don't override operatorForm
Equality::operatorOptions in core/modules/views/src/Plugin/views/filter/Equality.php
Provide simple equality operator
InOperator::operatorOptions in core/modules/views/src/Plugin/views/filter/InOperator.php
Build strings from the operators() for 'select' options
NumericFilter::operatorOptions in core/modules/views/src/Plugin/views/filter/NumericFilter.php
Provide a list of all the numeric operators
StringFilter::operatorOptions in core/modules/views/src/Plugin/views/filter/StringFilter.php
Build strings from the operators() for 'select' options

File

core/modules/views/src/Plugin/views/filter/FilterPluginBase.php, line 309
Contains \Drupal\views\Plugin\views\filter\FilterPluginBase.

Class

FilterPluginBase
Base class for Views filters handler plugins.

Namespace

Drupal\views\Plugin\views\filter

Code

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