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
Title Object type File name Summary
ActiveLinkTest::testQueryStringQuotes function core/modules/system/tests/src/FunctionalJavascript/ActiveLinkTest.php Ensures no JS error is thrown with query strings containing special chars.
AllExceptHostEntity::buildEntityQuery function core/modules/system/tests/modules/entity_reference_test/src/Plugin/EntityReferenceSelection/AllExceptHostEntity.php Builds an EntityQuery to get referenceable entities.
AssetQueryString class core/lib/Drupal/Core/Asset/AssetQueryString.php Stores a cache busting query string service for asset URLs.
AssetQueryString.php file core/lib/Drupal/Core/Asset/AssetQueryString.php
AssetQueryString::get function core/lib/Drupal/Core/Asset/AssetQueryString.php Gets the query string value.
AssetQueryString::reset function core/lib/Drupal/Core/Asset/AssetQueryString.php Resets the cache query string added to all CSS and JavaScript URLs.
AssetQueryString::STATE_KEY constant core/lib/Drupal/Core/Asset/AssetQueryString.php The key used for state.
AssetQueryString::__construct function core/lib/Drupal/Core/Asset/AssetQueryString.php Creates a new AssetQueryString instance.
AssetQueryStringInterface interface core/lib/Drupal/Core/Asset/AssetQueryStringInterface.php Provides a cache busting query string service for asset URLs.
AssetQueryStringInterface.php file core/lib/Drupal/Core/Asset/AssetQueryStringInterface.php
AssetQueryStringInterface::get function core/lib/Drupal/Core/Asset/AssetQueryStringInterface.php Gets the query string value.
AssetQueryStringInterface::reset function core/lib/Drupal/Core/Asset/AssetQueryStringInterface.php Resets the cache query string added to all CSS and JavaScript URLs.
AssetQueryStringTest class core/tests/Drupal/KernelTests/Core/Asset/AssetQueryStringTest.php Tests the asset query string functionality.
AssetQueryStringTest.php file core/tests/Drupal/KernelTests/Core/Asset/AssetQueryStringTest.php
AssetQueryStringTest::testResetGet function core/tests/Drupal/KernelTests/Core/Asset/AssetQueryStringTest.php @covers ::get[[api-linebreak]]
@covers ::reset[[api-linebreak]]
BlockContentHooks::queryEntityReferenceAlter function core/modules/block_content/src/Hook/BlockContentHooks.php Implements hook_query_TAG_alter().
ConfigEntity::query function core/modules/migrate/src/Plugin/migrate/source/ConfigEntity.php Prepares query object to retrieve data from the source database.
ConfigTestHooks::entityQueryTagConfigQueryTestConfigEntityQueryAlterHookTestAlter function core/modules/config/tests/config_test/src/Hook/ConfigTestHooks.php Implements hook_entity_query_tag__ENTITY_TYPE__TAG_alter().
ContentEntity::query function core/modules/migrate/src/Plugin/migrate/source/ContentEntity.php Query to retrieve the entities.
ContentModerationTestViewsHooks::viewsQueryAlter function core/modules/content_moderation/tests/modules/content_moderation_test_views/src/Hook/ContentModerationTestViewsHooks.php Implements hook_views_query_alter().
ContentModerationViewsExecutionHooks::viewsQuerySubstitutions function core/modules/content_moderation/src/Hook/ContentModerationViewsExecutionHooks.php Implements hook_views_query_substitutions().
DatabaseTestHooks::queryAlter function core/modules/system/tests/modules/database_test/src/Hook/DatabaseTestHooks.php Implements hook_query_alter().
DatabaseTestHooks::queryDatabaseTestAlterRemoveRangeAlter function core/modules/system/tests/modules/database_test/src/Hook/DatabaseTestHooks.php Implements hook_query_TAG_alter().
DriverSpecificTransactionTestBase::testQueryFailureInTransaction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests that transactions can continue to be used if a query fails.
EntityArgument::titleQuery function core/modules/views/src/Plugin/views/argument/EntityArgument.php Override for specific title lookups.
EntityOperations::entityQueryTagLatestTranslatedAffectedRevisionAlter function core/modules/workspaces/src/Hook/EntityOperations.php Implements hook_entity_query_tag__TAG_alter() for 'latest_translated_affected_revision'.
EntityQueryServiceDeprecation class core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecation.php Tests the move of the 'pgsql.entity.query.sql' service.
EntityQueryServiceDeprecation.php file core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecation.php
EntityQueryServiceDeprecation::testFactoryOverriddenService function core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecation.php Tests getting the backend overridden service does not trigger deprecations.
EntityQueryServiceDeprecation::testPostgresServiceDeprecated function core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecation.php Tests that the core provided service is deprecated.
EntityQueryServiceDeprecation::testPostgresServiceNotDeprecated function core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecation.php Tests that the pgsql provided service is not deprecated.
EntityReferenceArgument::titleQuery function core/modules/views/src/Plugin/views/argument/EntityReferenceArgument.php Override for specific title lookups.
EntityTestHooks::queryEntityTestAccessAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_query_entity_test_access_alter().
FetchLegacyTest::testQueryFetchAllAssoc function core/tests/Drupal/KernelTests/Core/Database/FetchLegacyTest.php Tests ::fetchAllAssoc().
FetchLegacyTest::testQueryFetchAllColumn function core/tests/Drupal/KernelTests/Core/Database/FetchLegacyTest.php Confirms that we can fetch all records into an array explicitly.
FetchLegacyTest::testQueryFetchArray function core/tests/Drupal/KernelTests/Core/Database/FetchLegacyTest.php Confirms that we can fetch a record to an associative array explicitly.
FetchLegacyTest::testQueryFetchColumn function core/tests/Drupal/KernelTests/Core/Database/FetchLegacyTest.php Confirms that we can fetch a single column value.
FetchLegacyTest::testQueryFetchColumnOutOfRange function core/tests/Drupal/KernelTests/Core/Database/FetchLegacyTest.php Confirms that an out of range index throws an error.
FetchLegacyTest::testQueryFetchNum function core/tests/Drupal/KernelTests/Core/Database/FetchLegacyTest.php Confirms that we can fetch a record into an indexed array explicitly.
FetchLegacyTest::testQueryFetchObject function core/tests/Drupal/KernelTests/Core/Database/FetchLegacyTest.php Confirms that we can fetch a record to an object explicitly.
FieldTestHooks::entityQueryAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_entity_query_alter().
FieldTestHooks::entityQueryEntityTestMulrevAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_entity_query_ENTITY_TYPE_alter() for 'entity_test_mulrev'.
FieldTestHooks::entityQueryTagEntityQueryAlterTagTestAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_entity_query_tag__TAG_alter() for 'entity_query_alter_tag_test'.
FieldTestHooks::entityQueryTagEntityTestMulrevEntityQueryEntityTestMulrevAlterTagTestAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_entity_query_tag__ENTITY_TYPE__TAG_alter().
FieldTestHooks::queryEfqMetadataTestAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_query_TAG_alter() for tag 'efq_metadata_test'.
FieldTestHooks::queryEfqTablePrefixingTestAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_query_TAG_alter() for tag 'efq_table_prefixing_test'.
I18nQueryTrait trait core/modules/migrate_drupal/src/Plugin/migrate/source/I18nQueryTrait.php Gets an i18n translation from the source database.
I18nQueryTrait.php file core/modules/migrate_drupal/src/Plugin/migrate/source/I18nQueryTrait.php
I18nQueryTrait::$i18nStringTable property core/modules/migrate_drupal/src/Plugin/migrate/source/I18nQueryTrait.php The i18n string table name.
I18nQueryTrait::getPropertyNotInRowTranslation function core/modules/migrate_drupal/src/Plugin/migrate/source/I18nQueryTrait.php Gets the translation for the property not already in the row.

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