Search for operator

  1. Search 7.x for operator
  2. Search 9.5.x for operator
  3. Search 10.3.x for operator
  4. Search 11.x for operator
  5. Other projects
Title Object type File name Summary
InOperator::defaultExposeOptions function core/modules/views/src/Plugin/views/filter/InOperator.php Provide default options for exposed filters.
InOperator::defineOptions function core/modules/views/src/Plugin/views/filter/InOperator.php Information about options for all kinds of purposes will be held here.
InOperator::getValueOptions function core/modules/views/src/Plugin/views/filter/InOperator.php Child classes should be used to override this function and set the
'value options', unless 'options callback' is defined as a valid function
or static public method to generate these values.
InOperator::init function core/modules/views/src/Plugin/views/filter/InOperator.php Overrides \Drupal\views\Plugin\views\HandlerBase::init().
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 This kind of construct makes it relatively easy for a child class
to add or remove functionality by overriding this function and
adding/removing items from this array.
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 Add this filter to the query.
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 Validate that the plugin is correct and can be saved.
InOperator::valueForm function core/modules/views/src/Plugin/views/filter/InOperator.php Options form subform for setting options.
InOperator::valueSubmit function core/modules/views/src/Plugin/views/filter/InOperator.php Perform any necessary changes to the form values prior to storage.
There is no need for this function to actually store the data.
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 Options form subform for setting the operator.
LatestTranslationAffectedRevision::operatorForm function core/modules/views/src/Plugin/views/filter/LatestTranslationAffectedRevision.php Options form subform for setting the operator.
limit-exposed-operators.php file core/modules/views/tests/fixtures/update/limit-exposed-operators.php Test fixture.
LimitOperatorsDefaultsTest class core/modules/views/tests/src/Functional/Update/LimitOperatorsDefaultsTest.php Tests the upgrade path for limit operators feature.
LimitOperatorsDefaultsTest.php file core/modules/views/tests/src/Functional/Update/LimitOperatorsDefaultsTest.php
LimitOperatorsDefaultsTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/LimitOperatorsDefaultsTest.php Set database dump files to be used.
LimitOperatorsDefaultsTest::testViewsPostUpdateLimitOperatorsDefaultValues function core/modules/views/tests/src/Functional/Update/LimitOperatorsDefaultsTest.php Tests that default settings for limit operators are present.
ManyToOne::operators function core/modules/views/src/Plugin/views/filter/ManyToOne.php This kind of construct makes it relatively easy for a child class
to add or remove functionality by overriding this function and
adding/removing items from this array.
NumericArgument::$operator property core/modules/views/src/Plugin/views/argument/NumericArgument.php The operator used for the query: or|and.
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::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 Options form subform for setting the operator.
Sql::$groupOperator property core/modules/views/src/Plugin/views/query/Sql.php The default operator to use when connecting the WHERE groups. May be
AND or OR.
Status::operatorForm function core/modules/media/src/Plugin/views/filter/Status.php Options form subform for setting the operator.
Status::operatorForm function core/modules/node/src/Plugin/views/filter/Status.php Options form subform for setting the operator.
StringFilter::operator function core/modules/views/src/Plugin/views/filter/StringFilter.php
StringFilter::operatorOptions function core/modules/views/src/Plugin/views/filter/StringFilter.php Build strings from the operators() for 'select' options
StringFilter::operators function core/modules/views/src/Plugin/views/filter/StringFilter.php This kind of construct makes it relatively easy for a child class
to add or remove functionality by overriding this function and
adding/removing items from this array.
StringFilter::operatorValues function core/modules/views/src/Plugin/views/filter/StringFilter.php
StubConnection::mapConditionOperator function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Gets any special processing requirements for the condition operator.
TaxonomyIndexTidDepth::operatorOptions function core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php Build strings from the operators() for 'select' options
views.view.test_filter_in_operator_ui.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_in_operator_ui.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_in_operator_ui.yml
ViewsConfigUpdater::mapOperatorFromSingleToMultiple function core/modules/views/src/ViewsConfigUpdater.php Maps a single operator to a multiple one, if possible.
ViewsConfigUpdater::needsOperatorDefaultsUpdate function core/modules/views/src/ViewsConfigUpdater.php Add additional settings to the entity link field.
ViewsConfigUpdater::processOperatorDefaultsHandler function core/modules/views/src/ViewsConfigUpdater.php Processes operator defaults.
ViewsConfigUpdaterTest::testNeedsOperatorUpdateDefaults function core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php @covers ::needsOperatorDefaultsUpdate
views_post_update_limit_operator_defaults function core/modules/views/views.post_update.php Define default values for limit operators settings in all filters.

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