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 10.3.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
LatestRevision::query function core/modules/views/src/Plugin/views/filter/LatestRevision.php
LatestTranslationAffectedRevision::query function core/modules/views/src/Plugin/views/filter/LatestTranslationAffectedRevision.php
LinkBase::query function core/modules/views/src/Plugin/views/field/LinkBase.php
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
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.
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
ManyToOne::summaryQuery function core/modules/views/src/Plugin/views/argument/ManyToOne.php
ManyToOne::titleQuery function core/modules/views/src/Plugin/views/argument/ManyToOne.php Override for specific title lookups.
MediaHooks::viewsQuerySubstitutions function core/modules/media/src/Hook/MediaHooks.php Implements hook_views_query_substitutions().
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
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
Mini::useCountQuery function core/modules/views/src/Plugin/views/pager/Mini.php
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.
NodeGrantDatabaseStorageInterface::alterQuery function core/modules/node/src/NodeGrantDatabaseStorageInterface.php Alters a query when node access is required.
NodeHooks1::queryNodeAccessAlter function core/modules/node/src/Hook/NodeHooks1.php Implements hook_query_TAG_alter().
NodeNewComments::query function core/modules/comment/src/Plugin/views/field/NodeNewComments.php
NodeQueryAlterTest class core/modules/node/tests/src/Functional/NodeQueryAlterTest.php Tests that node access queries are properly altered by the node module.
NodeQueryAlterTest.php file core/modules/node/tests/src/Functional/NodeQueryAlterTest.php
NodeQueryAlterTest::$accessUser property core/modules/node/tests/src/Functional/NodeQueryAlterTest.php User with permission to view content.

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