Search for operator

  1. Search 7.x for operator
  2. Search 9.5.x for operator
  3. Search 8.9.x for operator
  4. Search 10.3.x for operator
  5. Other projects
Title Object type File name Summary
FilterPluginBase::$operator property core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Contains the operator which is used on the query.
FilterPluginBase::operatorForm function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Options form subform for setting the operator.
FilterPluginBase::operatorOptions function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Provide a list of options for the default operator form.
FilterPluginBase::operatorSubmit function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Perform any necessary changes to the form values prior to storage.
FilterPluginBase::operatorValidate function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Validate the operator form.
FilterPluginBase::showOperatorForm function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Shortcut to display the operator form.
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.
FilterUITest::testFilterInOperatorUi function core/modules/views_ui/tests/src/Functional/FilterUITest.php Tests that an option for a filter is saved as expected from the UI.
HistoryUserTimestamp::$no_operator property core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php
InOperator class core/modules/views/src/Plugin/views/filter/InOperator.php Simple filter to handle matching of multiple options selectable via checkboxes.
InOperator.php file core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::$valueFormType property core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::$valueOptions property core/modules/views/src/Plugin/views/filter/InOperator.php Stores all operations which are available on the form.
InOperator::$valueTitle property core/modules/views/src/Plugin/views/filter/InOperator.php The filter title.
InOperator::acceptExposedInput function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::adminSummary function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::buildExposeForm function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::defaultExposeOptions function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::defineOptions function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::getValueOptions function core/modules/views/src/Plugin/views/filter/InOperator.php Gets the value options.
InOperator::init function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::opEmpty function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::operatorOptions function core/modules/views/src/Plugin/views/filter/InOperator.php Build strings from the operators() for 'select' options.
InOperator::operators function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::operatorValues function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::opSimple function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::query function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::reduceValueOptions function core/modules/views/src/Plugin/views/filter/InOperator.php When using exposed filters, we may be required to reduce the set.
InOperator::validate function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::valueForm function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperator::valueSubmit function core/modules/views/src/Plugin/views/filter/InOperator.php
InOperatorTest class core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php @coversDefaultClass \Drupal\views\Plugin\views\filter\InOperator
@group views
InOperatorTest.php file core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php
InOperatorTest::testValidate function core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php @covers ::validate
InOperatorTest::validate_options_callback function core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php
JoinPluginBase::$extraOperator property core/modules/views/src/Plugin/views/join/JoinPluginBase.php How all the extras will be combined. Either AND or OR.
LatestRevision::operatorForm function core/modules/views/src/Plugin/views/filter/LatestRevision.php
LatestTranslationAffectedRevision::operatorForm function core/modules/views/src/Plugin/views/filter/LatestTranslationAffectedRevision.php
ManyToOne::operators function core/modules/views/src/Plugin/views/filter/ManyToOne.php
NumericFilter::operatorOptions function core/modules/views/src/Plugin/views/filter/NumericFilter.php Provide a list of all the numeric operators.
NumericFilter::operators function core/modules/views/src/Plugin/views/filter/NumericFilter.php
NumericFilter::operatorValues function core/modules/views/src/Plugin/views/filter/NumericFilter.php
QueryPluginBase::$groupOperator property core/modules/views/src/Plugin/views/query/QueryPluginBase.php Controls how the WHERE and HAVING groups are put together.
QueryPluginBase::setGroupOperator function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Control how all WHERE and HAVING groups are put together.
QueryTest::testConditionOperatorArgumentsSQLInjection function core/tests/Drupal/KernelTests/Core/Database/QueryTest.php Tests SQL injection via condition operator.
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.
Search::operatorForm function core/modules/search/src/Plugin/views/filter/Search.php
SelectTest::providerNonArrayOperatorWithArrayValueCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Data provider for testNonArrayOperatorWithArrayValueCondition().
SelectTest::testNonArrayOperatorWithArrayValueCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests thrown exception for non array operator conditions with array value.

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