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
DriverSpecificConnectionUnitTestBase::testOpenSelectQueryClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a select query.
DriverSpecificTransactionTestBase::testQueryFailureInTransaction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests that transactions can continue to be used if a query fails.
Drupal::entityQuery function core/lib/Drupal.php Returns the entity query object for this entity type.
Drupal::entityQueryAggregate function core/lib/Drupal.php Returns the entity query aggregate object for this entity type.
DrupalTest::testEntityQuery function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the entityQuery() method.
DrupalTest::testEntityQueryAggregate function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the entityQueryAggregate() method.
Drupal\Core\Asset\AssetQueryStringInterface service core/core.services.yml
DummyQueryTrait trait core/modules/migrate/src/Plugin/migrate/source/DummyQueryTrait.php Provides a dummy select query object for source plugins.
DummyQueryTrait.php file core/modules/migrate/src/Plugin/migrate/source/DummyQueryTrait.php
DummyQueryTrait::doCount function core/modules/migrate/src/Plugin/migrate/source/DummyQueryTrait.php
DummyQueryTrait::query function core/modules/migrate/src/Plugin/migrate/source/DummyQueryTrait.php
entity.query.config service core/core.services.yml Drupal\Core\Config\Entity\Query\QueryFactory
entity.query.keyvalue service core/core.services.yml Drupal\Core\Entity\KeyValueStore\Query\QueryFactory
entity.query.null service core/core.services.yml Drupal\Core\Entity\Query\Null\QueryFactory
entity.query.sql service core/core.services.yml Drupal\Core\Entity\Query\Sql\QueryFactory
EntityArgument::titleQuery function core/modules/views/src/Plugin/views/argument/EntityArgument.php Override for specific title lookups.
EntityCondition::createFromQueryParameter function core/modules/jsonapi/src/Query/EntityCondition.php Creates an EntityCondition object from a query parameter.
EntityConditionTest::queryParameterProvider function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php Data provider for testDenormalize.
EntityConditionTest::testCreateFromQueryParameter function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php @covers ::createFromQueryParameter
@dataProvider queryParameterProvider
EntityField::query function core/modules/views/src/Plugin/views/field/EntityField.php Called to add the field to a query.
EntityFieldRenderer::query function core/modules/views/src/Entity/Render/EntityFieldRenderer.php Alters the query if needed.
EntityLink::query function core/modules/comment/src/Plugin/views/field/EntityLink.php Called to add the field to a query.
EntityListBuilder::getEntityListQuery function core/lib/Drupal/Core/Entity/EntityListBuilder.php Returns a query object for loading entity IDs from the storage.
EntityOperations::query function core/modules/views/src/Plugin/views/field/EntityOperations.php Called to add the field to a query.
EntityQueryAccessTest class core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php Tests that Views respects 'ENTITY_TYPE_access' query tags.
EntityQueryAccessTest.php file core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php
EntityQueryAccessTest::$defaultTheme property core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php The theme to install as the default for testing.
EntityQueryAccessTest::$modules property core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php Modules to install.
EntityQueryAccessTest::testBlockContentEntityQueryAccess function core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php Tests that the 'block_content_access' query tag is respected by Views.
EntityQueryAccessTest::testMediaEntityQueryAccess function core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php Tests that the 'media_access' query tag is respected by Views.
EntityQueryAggregateTest class core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php Tests the Entity Query Aggregation API.
EntityQueryAggregateTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
EntityQueryAggregateTest::$entityStorage property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php The entity_test storage to create the test entities.
EntityQueryAggregateTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php Modules to install.
EntityQueryAggregateTest::$queryResult property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php The actual query result, to compare later.
EntityQueryAggregateTest::assertResults function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php Asserts the results as expected regardless of order between and in rows.
EntityQueryAggregateTest::assertSortedResults function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php Asserts the results as expected regardless of order in rows.
EntityQueryAggregateTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
EntityQueryAggregateTest::testAggregation function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php Tests aggregation support.
EntityQueryAggregateTest::testRepeatedExecution function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php Tests preparing a query and executing twice.
EntityQueryRelationshipTest class core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php Tests the Entity Query relationship API.
EntityQueryRelationshipTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php
EntityQueryRelationshipTest::$accounts property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php User entities.
EntityQueryRelationshipTest::$entities property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php entity_test entities.
EntityQueryRelationshipTest::$fieldName property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php The name of the taxonomy field used for test.
EntityQueryRelationshipTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php Modules to install.
EntityQueryRelationshipTest::$queryResults property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php The results returned by EntityQuery.
EntityQueryRelationshipTest::$terms property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php Term entities.
EntityQueryRelationshipTest::assertResults function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php Assert the results.
EntityQueryRelationshipTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php

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