function FilterOperatorsInterface::operators

Same name in other branches
  1. 10 core/modules/views/src/Plugin/views/filter/FilterOperatorsInterface.php \Drupal\views\Plugin\views\filter\FilterOperatorsInterface::operators()

Returns an array of operator information, keyed by operator ID.

Return value

array[]

4 methods override FilterOperatorsInterface::operators()
BooleanOperator::operators in core/modules/views/src/Plugin/views/filter/BooleanOperator.php
Returns an array of operator information, keyed by operator ID.
InOperator::operators in core/modules/views/src/Plugin/views/filter/InOperator.php
Returns an array of operator information, keyed by operator ID.
NumericFilter::operators in core/modules/views/src/Plugin/views/filter/NumericFilter.php
Returns an array of operator information, keyed by operator ID.
StringFilter::operators in core/modules/views/src/Plugin/views/filter/StringFilter.php
Returns an array of operator information, keyed by operator ID.

File

core/modules/views/src/Plugin/views/filter/FilterOperatorsInterface.php, line 15

Class

FilterOperatorsInterface
Provides an interface for all views filters that implement operators.

Namespace

Drupal\views\Plugin\views\filter

Code

public function operators();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.