Search for query

  1. Search 7.x for query
  2. Search 8.9.x for query
  3. Search 10.3.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
QueryArgsCacheContext.php file core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php
QueryArgsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
QueryArgsCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Returns the string representation of the cache context.
QueryArgsCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Returns the label of the cache context.
QueryArgsCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php @coversDefaultClass \Drupal\Core\Cache\Context\QueryArgsCacheContext
@group Cache
QueryArgsCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php
QueryArgsCacheContextTest::providerTestGetContext function core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php Provides a list of query arguments and expected cache contexts.
QueryArgsCacheContextTest::testGetContext function core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php @covers ::getContext
QueryBase class core/lib/Drupal/Core/Entity/Query/QueryBase.php The base entity query class.
QueryBase.php file core/lib/Drupal/Core/Entity/Query/QueryBase.php
QueryBase::$accessCheck property core/lib/Drupal/Core/Entity/Query/QueryBase.php Whether access check is requested or not.
QueryBase::$aggregate property core/lib/Drupal/Core/Entity/Query/QueryBase.php The list of aggregate expressions.
QueryBase::$allRevisions property core/lib/Drupal/Core/Entity/Query/QueryBase.php Flag indicating whether to query the current revision or all revisions.
QueryBase::$alterMetaData property core/lib/Drupal/Core/Entity/Query/QueryBase.php The query metadata for alter purposes.
QueryBase::$alterTags property core/lib/Drupal/Core/Entity/Query/QueryBase.php The query tags.
QueryBase::$condition property core/lib/Drupal/Core/Entity/Query/QueryBase.php Conditions.
QueryBase::$conditionAggregate property core/lib/Drupal/Core/Entity/Query/QueryBase.php Aggregate Conditions.
QueryBase::$conjunction property core/lib/Drupal/Core/Entity/Query/QueryBase.php Defines how the conditions on the query need to match.
QueryBase::$count property core/lib/Drupal/Core/Entity/Query/QueryBase.php TRUE if this is a count query, FALSE if it isn't.
QueryBase::$entityType property core/lib/Drupal/Core/Entity/Query/QueryBase.php Information about the entity type.
QueryBase::$entityTypeId property core/lib/Drupal/Core/Entity/Query/QueryBase.php The entity type this query runs against.
QueryBase::$groupBy property core/lib/Drupal/Core/Entity/Query/QueryBase.php The list of columns to group on.
QueryBase::$latestRevision property core/lib/Drupal/Core/Entity/Query/QueryBase.php Flag indicating whether to query the latest revision.
QueryBase::$namespaces property core/lib/Drupal/Core/Entity/Query/QueryBase.php List of potential namespaces of the classes belonging to this query.
QueryBase::$pager property core/lib/Drupal/Core/Entity/Query/QueryBase.php The query pager data.
QueryBase::$range property core/lib/Drupal/Core/Entity/Query/QueryBase.php The query range.
QueryBase::$sort property core/lib/Drupal/Core/Entity/Query/QueryBase.php The list of sorts.
QueryBase::$sortAggregate property core/lib/Drupal/Core/Entity/Query/QueryBase.php The list of sorts over the aggregate results.
QueryBase::accessCheck function core/lib/Drupal/Core/Entity/Query/QueryBase.php Enables or disables access checking for this query.
QueryBase::addMetaData function core/lib/Drupal/Core/Entity/Query/QueryBase.php Adds additional metadata to the query.
QueryBase::addTag function core/lib/Drupal/Core/Entity/Query/QueryBase.php Adds a tag to a query.
QueryBase::aggregate function core/lib/Drupal/Core/Entity/Query/QueryBase.php
QueryBase::allRevisions function core/lib/Drupal/Core/Entity/Query/QueryBase.php Queries all the revisions.
QueryBase::andConditionGroup function core/lib/Drupal/Core/Entity/Query/QueryBase.php Creates a new group of conditions ANDed together.
QueryBase::condition function core/lib/Drupal/Core/Entity/Query/QueryBase.php Add a condition to the query or a condition group.
QueryBase::conditionAggregate function core/lib/Drupal/Core/Entity/Query/QueryBase.php
QueryBase::conditionGroupFactory function core/lib/Drupal/Core/Entity/Query/QueryBase.php Creates an object holding a group of conditions.
QueryBase::count function core/lib/Drupal/Core/Entity/Query/QueryBase.php Makes this a count query.
QueryBase::currentRevision function core/lib/Drupal/Core/Entity/Query/QueryBase.php Limits the query to only default revisions.
QueryBase::exists function core/lib/Drupal/Core/Entity/Query/QueryBase.php Queries for a non-empty value on a field.
QueryBase::getAggregationAlias function core/lib/Drupal/Core/Entity/Query/QueryBase.php Generates an alias for a field and its aggregated function.
QueryBase::getClass function core/lib/Drupal/Core/Entity/Query/QueryBase.php Finds a class in a list of namespaces.
QueryBase::getEntityTypeId function core/lib/Drupal/Core/Entity/Query/QueryBase.php Gets the ID of the entity type for this query.
QueryBase::getMetaData function core/lib/Drupal/Core/Entity/Query/QueryBase.php Retrieves a given piece of metadata.
QueryBase::getNamespaces function core/lib/Drupal/Core/Entity/Query/QueryBase.php Gets a list of namespaces of the ancestors of a class.
QueryBase::groupBy function core/lib/Drupal/Core/Entity/Query/QueryBase.php
QueryBase::hasAllTags function core/lib/Drupal/Core/Entity/Query/QueryBase.php Determines if a given query has all specified tags.
QueryBase::hasAnyTag function core/lib/Drupal/Core/Entity/Query/QueryBase.php Determines if a given query has any specified tag.
QueryBase::hasTag function core/lib/Drupal/Core/Entity/Query/QueryBase.php Determines if a given query has a given tag.
QueryBase::initializePager function core/lib/Drupal/Core/Entity/Query/QueryBase.php Gets the total number of results and initialize a pager for the query.

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