Search for operators

  1. Search 7.x for operators
  2. Search 8.9.x for operators
  3. Search 10.3.x for operators
  4. Search 11.x for operators
  5. Other projects
Title Object type File name Summary
BooleanOperator::operators function core/modules/views/src/Plugin/views/filter/BooleanOperator.php Returns an array of operator information.
BooleanOperatorString class core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php Simple filter to handle matching of boolean values.
BooleanOperatorString.php file core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php
BooleanOperatorString::query function core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php Add this filter to the query.
ConditionTest::dataProviderTestCompileWithKnownOperators function core/tests/Drupal/Tests/Core/Database/ConditionTest.php Provides a list of known operations and the expected output.
ConditionTest::testCompileWithKnownOperators function core/tests/Drupal/Tests/Core/Database/ConditionTest.php @covers ::compile
DateFilterTest::testLimitExposedOperators function core/modules/datetime/tests/src/Functional/DateFilterTest.php Tests the limit of the expose operator functionality.
EntityCondition::$allowedOperators property core/modules/jsonapi/src/Query/EntityCondition.php The allowed condition operators.
FilterBooleanOperatorStringTest class core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php Tests core's BooleanOperatorString views filter handler.
FilterBooleanOperatorStringTest.php file core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php
FilterBooleanOperatorStringTest::$columnMap property core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php Map column names.
FilterBooleanOperatorStringTest::$modules property core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php The modules to enable for this test.
FilterBooleanOperatorStringTest::$testViews property core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php Views used by this test.
FilterBooleanOperatorStringTest::dataSet function core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php Returns a very simple test dataset.
FilterBooleanOperatorStringTest::getGroupedExposedFilters function core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php Provides grouped exposed filter configuration.
FilterBooleanOperatorStringTest::schemaDefinition function core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php Returns the schema definition.
FilterBooleanOperatorStringTest::testFilterBooleanOperatorString function core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php Tests the BooleanOperatorString filter.
FilterBooleanOperatorStringTest::testFilterGroupedExposed function core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php Tests the Boolean filter with grouped exposed form enabled.
FilterBooleanOperatorStringTest::viewsData function core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php Returns the views data definition.
FilterInOperatorTest::testFilterInOperatorSimple function core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php
FilterPluginBase::operatorSubmit function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Perform any necessary changes to the form values prior to storage.
FilterTest::testInOperatorSelectAllOptions function core/modules/views/tests/src/Functional/Plugin/FilterTest.php Tests an exposed filter when all options are selected.
FilterTest::testLimitExposedOperators function core/modules/views/tests/src/Functional/Plugin/FilterTest.php Tests the limit of the expose operator functionality.
InOperator::operators function core/modules/views/src/Plugin/views/filter/InOperator.php Gets the operators.
ManyToOne::operators function core/modules/views/src/Plugin/views/filter/ManyToOne.php Gets the operators.
NumericFilter::operators function core/modules/views/src/Plugin/views/filter/NumericFilter.php
Roles::operators function core/modules/user/src/Plugin/views/filter/Roles.php Override empty and not empty operator labels to be clearer for user roles.
StringFilter::operators function core/modules/views/src/Plugin/views/filter/StringFilter.php Get the operators.

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