Search for query

  1. Search 7.x for query
  2. Search 9.5.x for query
  3. Search 8.9.x for query
  4. Search 11.x for query
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Query class core/modules/workspaces/src/EntityQuery/Query.php Alters entity queries to use a workspace revision instead of the default one.
Query class core/lib/Drupal/Core/Config/Entity/Query/Query.php Defines the entity query for configuration entities.
Query class core/lib/Drupal/Core/Database/Query/Query.php Base class for query builders.
Query class core/lib/Drupal/Core/Entity/Query/Sql/Query.php The SQL storage entity query class.
Query class core/lib/Drupal/Core/Entity/Query/Null/Query.php Defines the entity query for configuration entities.
Query class core/lib/Drupal/Core/Entity/KeyValueStore/Query/Query.php Defines the entity query for entities stored in a key value backend.

All search results

Title Object type File name Summary
LanguageNegotiationSession::$queryRewrite property core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php Flag used to determine whether query rewriting is active.
LanguageNegotiationSession::$queryValue property core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php The query parameter value to be set.
LargeQueryTest class core/modules/mysql/tests/src/Kernel/mysql/LargeQueryTest.php Tests handling of large queries.
LargeQueryTest.php file core/modules/mysql/tests/src/Kernel/mysql/LargeQueryTest.php
LargeQueryTest::testMaxAllowedPacketQueryTruncating function core/modules/mysql/tests/src/Kernel/mysql/LargeQueryTest.php Tests truncation of messages when max_allowed_packet exception occurs.
LatestRevision::query function core/modules/views/src/Plugin/views/filter/LatestRevision.php Add this filter to the query.
LatestTranslationAffectedRevision::query function core/modules/views/src/Plugin/views/filter/LatestTranslationAffectedRevision.php Add this filter to the query.
LinkBase::query function core/modules/views/src/Plugin/views/field/LinkBase.php Called to add the field to a query.
LinkFieldTest::getUrlWithComplexQuery function core/modules/link/tests/src/Functional/LinkFieldTest.php Get array of url with complex query parameters for render check.
LinkFieldTest::getUrlWithComplexQueryInputList function core/modules/link/tests/src/Functional/LinkFieldTest.php Get list of url with complex query parameters for input check.
LinkFieldTest::testLinkFormatterQueryParametersDuplication function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the default 'link' formatter with complex query parameters.
LinkGeneratorTest::testGenerateParametersAsQuery function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with passed query options via parameters.
LinkGeneratorTest::testGenerateQuery function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with passed query options.
Links::query function core/modules/views/src/Plugin/views/field/Links.php Called to add the field to a query.
Log::$queryLog property core/lib/Drupal/Core/Database/Log.php Cache of logged queries. This will only be used if the query logger is enabled.
LoggedStatementsTrait::query function core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php
MakeUniqueEntityFieldTest::$entityQuery property core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php The mock entity query.
MakeUniqueEntityFieldTest::entityQueryExpects function core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php Helper function to add expectations to the mock entity query object.
ManyToOne::query function core/modules/views/src/Plugin/views/argument/ManyToOne.php Set up the query for this argument.
ManyToOne::summaryQuery function core/modules/views/src/Plugin/views/argument/ManyToOne.php Build the info for the summary query.
ManyToOne::titleQuery function core/modules/views/src/Plugin/views/argument/ManyToOne.php Override for specific title lookups.
MediaLibraryStateTest::testFromRequestQueryLess function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php @covers ::fromRequest
MediaSelection::buildEntityQuery function core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php Builds an EntityQuery to get referenceable entities.
media_views_query_substitutions function core/modules/media/media.module Implements hook_views_query_substitutions().
Menu::query function core/modules/system/src/Plugin/migrate/source/Menu.php
MenuLink::query function core/modules/menu_link_content/src/Plugin/migrate/source/MenuLink.php
MenuLinkLocalized::query function core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php
MenuLinkTranslation::query function core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php
MenuLinkTranslation::query function core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkTranslation.php
MenuTranslation::query function core/modules/system/src/Plugin/migrate/source/d7/MenuTranslation.php
MenuUiTest::testMenuQueryAndFragment function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Adds and removes a menu link with a query string and fragment.
MessageCommand::$wrapperQuerySelector property core/lib/Drupal/Core/Ajax/MessageCommand.php The query selector for the element the message will appear in.
MigrateMessageController::buildFilterQuery function core/modules/migrate/src/Controller/MigrateMessageController.php Builds a query for migrate message administration.
MigrateMissingDatabaseSource::query function core/modules/migrate/tests/modules/migrate_missing_database_test/src/Plugin/migrate/source/MigrateMissingDatabaseSource.php
MigrateTestCase::queryResultTest function core/modules/migrate/tests/src/Unit/MigrateTestCase.php Tests a query.
migrate_query_batch_test.info.yml file core/modules/migrate/tests/modules/migrate_query_batch_test/migrate_query_batch_test.info.yml core/modules/migrate/tests/modules/migrate_query_batch_test/migrate_query_batch_test.info.yml
Mini::query function core/modules/views/src/Plugin/views/pager/Mini.php Modify the query for paging.
Mini::useCountQuery function core/modules/views/src/Plugin/views/pager/Mini.php Determine if a pager needs a count query.
NegotiationMiddlewareTest::testFormatViaQueryParameter function core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php Tests the specifying a format via query parameters gets used.
NewTopicsBlock::buildForumQuery function core/modules/forum/src/Plugin/Block/NewTopicsBlock.php Builds the select query to use for this forum block.
Node::query function core/modules/node/src/Plugin/migrate/source/d6/Node.php
Node::query function core/modules/node/src/Plugin/migrate/source/d7/Node.php
NodeAccessLanguageTest::testNodeAccessQueryTag function core/modules/node/tests/src/Kernel/NodeAccessLanguageTest.php Tests select queries with a 'node_access' tag and langcode metadata.
NodeAccessTest::testQueryWithBaseTableJoin function core/modules/node/tests/src/Kernel/NodeAccessTest.php Tests node grants for queries with node access checks and base table join.
NodeComplete::query function core/modules/node/src/Plugin/migrate/source/d6/NodeComplete.php
NodeComplete::query function core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php
NodeCounter::query function core/modules/statistics/src/Plugin/migrate/source/NodeCounter.php
NodeEntityTranslation::query function core/modules/node/src/Plugin/migrate/source/d7/NodeEntityTranslation.php
NodeGrantDatabaseStorage::alterQuery function core/modules/node/src/NodeGrantDatabaseStorage.php
NodeGrantDatabaseStorage::buildGrantsQueryCondition function core/modules/node/src/NodeGrantDatabaseStorage.php Creates a query condition from an array of node access grants.

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