Search for query

  1. Search 7.x for query
  2. Search 9.5.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
EntityQueryTest::$bundles property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php A list of bundle machine names created for this test.
EntityQueryTest::$figures property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Field name for the figures field.
EntityQueryTest::$greetings property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Field name for the greetings field.
EntityQueryTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Modules to enable.
EntityQueryTest::$queryResults property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
EntityQueryTest::$storage property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php The entity_test_mulrev entity storage.
EntityQueryTest::assertBundleOrder function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
EntityQueryTest::assertResult function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
EntityQueryTest::assertRevisionResult function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
EntityQueryTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
EntityQueryTest::testBaseFieldMultipleColumns function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test base fields with multiple columns.
EntityQueryTest::testCaseSensitivity function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test case sensitive and in-sensitive query conditions.
EntityQueryTest::testConditionCount function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests that condition count returns expected number of conditions.
EntityQueryTest::testConditionOnRevisionMetadataKeys function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests entity queries with condition on the revision metadata keys.
EntityQueryTest::testCount function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test that count queries are separated across entity types.
EntityQueryTest::testDelta function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test queries with delta conditions.
EntityQueryTest::testEntityQuery function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test basic functionality.
EntityQueryTest::testInjectionInCondition function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test against SQL inject of condition field. This covers a
database driver's EntityQuery\Condition class.
EntityQueryTest::testMetaData function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test adding a tag and metadata to the Entity query object.
EntityQueryTest::testNestedConditionGroups function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests that nested condition groups work as expected.
EntityQueryTest::testPendingRevisions function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test pending revisions.
EntityQueryTest::testSort function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test sort().
EntityQueryTest::testTableSort function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test tablesort().
EntityQueryTest::testToString function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests __toString().
EntityQueryTest::testWithTwoEntityReferenceFieldsToSameEntityType function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests that EntityQuery works when querying the same entity from two fields.
EntityReference::query function core/modules/views/src/Plugin/views/display/EntityReference.php Add anything to the query that we might need to.
EntityResource::executeQueryInRenderContext function core/modules/jsonapi/src/Controller/EntityResource.php Executes the query in a render context, to catch bubbled cacheability.
EntityResource::getCollectionCountQuery function core/modules/jsonapi/src/Controller/EntityResource.php Gets a basic query for a collection count.
EntityResource::getCollectionQuery function core/modules/jsonapi/src/Controller/EntityResource.php Gets a basic query for a collection.
EntityReverse::query function core/modules/views/src/Plugin/views/relationship/EntityReverse.php Called to implement a relationship in a query.
EntityRow::query function core/modules/views/src/Plugin/views/row/EntityRow.php Add anything to the query that we might need to.
EntityStorageBase::buildPropertyQuery function core/lib/Drupal/Core/Entity/EntityStorageBase.php Builds an entity query.
EntityStorageBase::getAggregateQuery function core/lib/Drupal/Core/Entity/EntityStorageBase.php Gets an aggregated query instance.
EntityStorageBase::getQuery function core/lib/Drupal/Core/Entity/EntityStorageBase.php Gets an entity query instance.
EntityStorageBase::getQueryServiceName function core/lib/Drupal/Core/Entity/EntityStorageBase.php Gets the name of the service for the query for this entity storage.
EntityStorageInterface::getAggregateQuery function core/lib/Drupal/Core/Entity/EntityStorageInterface.php Gets an aggregated query instance.
EntityStorageInterface::getQuery function core/lib/Drupal/Core/Entity/EntityStorageInterface.php Gets an entity query instance.
EntityTranslationRendererBase::query function core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php Alters the query if needed.
EntityTranslationSettings::query function core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php
entity_test_query_entity_test_access_alter function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_query_entity_test_access_alter().
ExposedFormPluginBase::query function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php Add anything to the query that we might need to.
Extension::query function core/modules/system/src/Plugin/migrate/source/Extension.php
FetchTest::testQueryFetchAllColumn function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch all records into an array explicitly.
FetchTest::testQueryFetchArray function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record to an associative array explicitly.
FetchTest::testQueryFetchBoth function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a doubly-keyed array explicitly.
FetchTest::testQueryFetchClass function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a new instance of a custom class.
FetchTest::testQueryFetchClasstype function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a new instance of a custom class.
The name of the class is determined from a value of the first column.
FetchTest::testQueryFetchCol function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch an entire column of a result set at once.
FetchTest::testQueryFetchDefault function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record properly in default object mode.
FetchTest::testQueryFetchNum function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into an indexed array explicitly.

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