Search for key

  1. Search 7.x for key
  2. Search 9.5.x for key
  3. Search 8.9.x for key
  4. Search 10.3.x for key
  5. Other projects
Title Object type File name Summary
AssetQueryString::STATE_KEY constant core/lib/Drupal/Core/Asset/AssetQueryString.php The key used for state.
BlockValidationTest::$propertiesWithRequiredKeys property core/modules/block/tests/src/Kernel/BlockValidationTest.php The config entity mapping properties with >=1 required keys.
ChangeLogger::INSTALLED_PACKAGES_KEY constant core/modules/package_manager/src/EventSubscriber/ChangeLogger.php The key to store the list of packages installed when the stage is created.
ChangeLogger::REQUESTED_PACKAGES_KEY constant core/modules/package_manager/src/EventSubscriber/ChangeLogger.php The metadata key under which to store the requested package versions.
CheckpointStorage::$keyValueStores property core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php The key value stores that store configuration changed for each checkpoint.
CheckpointStorage::CONFIG_COLLECTION_KEY constant core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Used to store the list of collections in each checkpoint.
CheckpointStorage::getKeyValue function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Gets the key value storage for the provided checkpoint.
CheckpointStorage::KEY_VALUE_COLLECTION_PREFIX constant core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Used as prefix to a config checkpoint collection.
ComponentLoader::getCacheKey function core/lib/Drupal/Core/Template/Loader/ComponentLoader.php
ComponentNegotiator::generateCacheKey function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Generates the cache key for the current theme and the provided component.
ComposerInspectorTest::testConfigUndefinedKey function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php @covers ::getConfig[[api-linebreak]]
ConfigConfigurator::recursiveSortByKey function core/lib/Drupal/Core/Recipe/ConfigConfigurator.php Sorts an array recursively, by key, alphabetically.
ConfigConfiguratorTest::testExistingConfigWithKeysInDifferentOrder function core/tests/Drupal/KernelTests/Core/Recipe/ConfigConfiguratorTest.php Tests creating an existing configuration with a difference key order.
ConfigEntityValidationTestBase::$propertiesWithRequiredKeys property core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php The config entity mapping properties with >=1 required keys.
ConfigEntityValidationTestBase::getRequiredPropertyKeys function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Determines the config entity mapping properties with required keys.
ConfigEntityValidationTestBase::testRequiredPropertyKeysMissing function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php A property that is required must have a value (i.e. not NULL).
ConfigTargetTest::testIncorrectKey function core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php Tests #config_target with an incorrect key.
DirectWriteSubscriber::STATE_KEY constant core/modules/package_manager/src/EventSubscriber/DirectWriteSubscriber.php The state key which holds the original status of maintenance mode.
DraggableListBuilderTrait::$entitiesKey property core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php The key to use for the form element containing the entities.
DraggableListBuilderTrait::$weightKey property core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php Name of the entity's weight field or FALSE if no field is provided.
EditorValidationTest::$propertiesWithRequiredKeys property core/modules/editor/tests/src/Kernel/EditorValidationTest.php The config entity mapping properties with >=1 required keys.
EditorValidationTest::testRequiredPropertyKeysMissing function core/modules/editor/tests/src/Kernel/EditorValidationTest.php A property that is required must have a value (i.e. not NULL).
EntityDefinitionUpdateMultipleTypesTest::testBaseFieldEntityKeyUpdateWithExistingData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateMultipleTypesTest.php Tests updating a base field when it has existing data.
EntityMethodConfigActionsTest::testSetPropertiesWillNotChangeEntityKeys function core/tests/Drupal/KernelTests/Core/Recipe/EntityMethodConfigActionsTest.php Tests that the setProperties action refuses to modify entity IDs or UUIDs.
EntityTestHooks::entityTestMulLangcodeKeyTranslationCreate function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_create() for 'entity_test_mul_langcode_key'.
EntityTestHooks::entityTestMulLangcodeKeyTranslationDelete function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_delete() for 'entity_test_mul_langcode_key'.
EntityTestHooks::entityTestMulLangcodeKeyTranslationInsert function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_translation_insert() for 'entity_test_mul_langcode_key'.
EventWithPackageListTrait::getKeyedPackages function core/modules/package_manager/src/Event/EventWithPackageListTrait.php Gets packages as a keyed array.
FieldConfigValidationTest::testRequiredPropertyKeysMissing function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php A property that is required must have a value (i.e. not NULL).
FixtureManipulator::PATH_REPO_STATE_KEY constant core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php
HelpTopicDiscovery::FILE_KEY constant core/modules/help/src/HelpTopicDiscovery.php Defines the key in the discovered data where the file path is stored.
HelpTopicDiscoveryTest::testDiscoveryExceptionInvalidYamlKey function core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll[[api-linebreak]]
ImageDeprecationTest::testImageFilterKeywordDeprecation function core/modules/image/tests/src/Unit/ImageDeprecationTest.php Tests deprecation of image_filter_keyword.
KeyvalueTestHooks class core/modules/system/tests/modules/keyvalue_test/src/Hook/KeyvalueTestHooks.php Hook implementations for keyvalue_test.
KeyvalueTestHooks.php file core/modules/system/tests/modules/keyvalue_test/src/Hook/KeyvalueTestHooks.php
KeyvalueTestHooks::entityTypeAlter function core/modules/system/tests/modules/keyvalue_test/src/Hook/KeyvalueTestHooks.php Implements hook_entity_type_alter().
LinearHistory::CHECKPOINT_KEY constant core/lib/Drupal/Core/Config/Checkpoint/LinearHistory.php The store of all the checkpoint names in state.
LinearHistoryTest::CHECKPOINT_KEY constant core/tests/Drupal/Tests/Core/Config/Checkpoint/LinearHistoryTest.php The key used store of all the checkpoint names in state.
LocaleProjectStorageTest::$keyValueMemoryFactory property core/modules/locale/tests/src/Unit/LocaleProjectStorageTest.php The key value memory factory.
LockFileValidator::$keyValue property core/modules/package_manager/src/Validator/LockFileValidator.php The key-value store.
LockFileValidator::KEY constant core/modules/package_manager/src/Validator/LockFileValidator.php The key under which to store the hash of the active lock file.
LruMemoryCacheTest::testSetNumericKeys function core/tests/Drupal/Tests/Core/Cache/LruMemoryCacheTest.php Tests setting items with numeric keys in the LRU memory cache.
MappingTest::testInvalidMappingKeyDefinition function core/tests/Drupal/KernelTests/Config/Schema/MappingTest.php @testWith [false, 42, "The mapping definition at `foobar` is invalid: its `invalid` key contains a integer. It must be an array."][[api-linebreak]]
[false, 10.2, "The mapping definition at `foobar` is invalid: its `invalid` key contains…
MappingTest::testInvalidRequiredKeyFlag function core/tests/Drupal/KernelTests/Config/Schema/MappingTest.php @testWith [true][[api-linebreak]]
[1][[api-linebreak]]
["true"][[api-linebreak]]
[0][[api-linebreak]]
["false"][[api-linebreak]]
[[api-linebreak]]
NonPublicSchemaTest::testPrimaryKey function core/modules/pgsql/tests/src/Kernel/pgsql/NonPublicSchemaTest.php @covers ::addPrimaryKey[[api-linebreak]]
@covers ::dropPrimaryKey[[api-linebreak]]
NonPublicSchemaTest::testUniqueKey function core/modules/pgsql/tests/src/Kernel/pgsql/NonPublicSchemaTest.php @covers ::addUniqueKey[[api-linebreak]]
@covers ::indexExists[[api-linebreak]]
@covers ::dropUniqueKey[[api-linebreak]]
PrefetchedResult::fetchAllKeyed function core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php Returns the entire result set as a single associative array.
Recipe::validateKeysAreValidExtensionNames function core/lib/Drupal/Core/Recipe/Recipe.php Validates that the keys of an array are valid extension names.
RemovePathKeyTest class core/modules/system/tests/src/Functional/Update/RemovePathKeyTest.php Tests the upgrade path for the system.file schema update.
RemovePathKeyTest.php file core/modules/system/tests/src/Functional/Update/RemovePathKeyTest.php

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