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
DriverSpecificConnectionUnitTestBase::getQuery function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Returns a set of queries specific for the database in testing.
DriverSpecificConnectionUnitTestBase::testOpenQueryClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a query.
DriverSpecificConnectionUnitTestBase::testOpenQueryPrefetchClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a query and custom prefetch method.
DriverSpecificConnectionUnitTestBase::testOpenSelectQueryClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a select query.
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.
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
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.
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 enable.
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 enable.
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 enable.
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
EntityQueryRelationshipTest::testInvalidSpecifier function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php Tests the invalid specifier in the query relationship.

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