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
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.
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.
NodeGrantDatabaseStorageInterface::alterQuery function core/modules/node/src/NodeGrantDatabaseStorageInterface.php Alters a query when node access is required.
NodeNewComments::query function core/modules/comment/src/Plugin/views/field/NodeNewComments.php Called to add the field to a query.
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.
NodeQueryAlterTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeQueryAlterTest.php The theme to install as the default for testing.
NodeQueryAlterTest::$modules property core/modules/node/tests/src/Functional/NodeQueryAlterTest.php Modules to install.
NodeQueryAlterTest::$noAccessUser property core/modules/node/tests/src/Functional/NodeQueryAlterTest.php User without permission to view content.
NodeQueryAlterTest::$noAccessUser2 property core/modules/node/tests/src/Functional/NodeQueryAlterTest.php User without permission to view content.
NodeQueryAlterTest::setUp function core/modules/node/tests/src/Functional/NodeQueryAlterTest.php
NodeQueryAlterTest::testNodeQueryAlterLowLevelEditAccess function core/modules/node/tests/src/Functional/NodeQueryAlterTest.php Tests 'node_access' query alter, for edit access.
NodeQueryAlterTest::testNodeQueryAlterLowLevelNoAccess function core/modules/node/tests/src/Functional/NodeQueryAlterTest.php Tests 'node_access' query alter, for user without access.
NodeQueryAlterTest::testNodeQueryAlterLowLevelWithAccess function core/modules/node/tests/src/Functional/NodeQueryAlterTest.php Tests 'node_access' query alter, for user with access.
NodeQueryAlterTest::testNodeQueryAlterOverride function core/modules/node/tests/src/Functional/NodeQueryAlterTest.php Tests 'node_access' query alter override.

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