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
KeyValueStoreInterface::getCollectionName function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns the name of this collection.
KeyValueStoreInterface::getMultiple function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns the stored key/value pairs for a given set of keys.
KeyValueStoreInterface::has function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns whether a given key exists in the store.
KeyValueStoreInterface::rename function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Renames a key.
KeyValueStoreInterface::set function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Saves a value for a given key.
KeyValueStoreInterface::setIfNotExists function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Saves a value for a given key if it does not exist yet.
KeyValueStoreInterface::setMultiple function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Saves key/value pairs.
keyvalue_test.info.yml file core/modules/system/tests/modules/keyvalue_test/keyvalue_test.info.yml core/modules/system/tests/modules/keyvalue_test/keyvalue_test.info.yml
keyvalue_test.module file core/modules/system/tests/modules/keyvalue_test/keyvalue_test.module
keyvalue_test_entity_type_alter function core/modules/system/tests/modules/keyvalue_test/keyvalue_test.module Implements hook_entity_type_alter().
LanguageListBuilder::$entitiesKey property core/modules/language/src/LanguageListBuilder.php The key to use for the form element containing the entities.
LayoutBuilderWidget::layoutBuilderElementGetKeys function core/modules/layout_builder/src/Plugin/Field/FieldWidget/LayoutBuilderWidget.php Form element #process callback.
LayoutTempstoreRepository::getKey function core/modules/layout_builder/src/LayoutTempstoreRepository.php Gets the string to use as the tempstore key.
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.
LinkCollection::hasLinkWithKey function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Whether a link with the given key exists.
LinkCollection::validKey function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Ensures that a link key is valid.
LinkCollectionNormalizer::LINK_KEY constant core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php The normalizer $context key name for the key of an individual link.
ListStringItem::processAllowedValuesKey function core/modules/options/src/Plugin/Field/FieldType/ListStringItem.php Sets the machine name source to be the label.
LocaleProjectStorage::$keyValueStore property core/modules/locale/src/LocaleProjectStorage.php The key value store to use.
LocaleProjectStorageTest::$keyValueMemoryFactory property core/modules/locale/tests/src/Unit/LocaleProjectStorageTest.php
Log::$connectionKey property core/lib/Drupal/Core/Database/Log.php The connection key for which this object is logging.
LoggingTest::testGetLoggingWrongKey function core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php Tests that getLog with a wrong key return an empty array.
LonelyMonkeyClass class core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php A class with a single dependency.
LonelyMonkeyClass.php file core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php
LonelyMonkeyClass::$connection property core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php The database connection.
LonelyMonkeyClass::__construct function core/modules/system/tests/modules/error_service_test/src/LonelyMonkeyClass.php
LonelyMonkeyController class core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php Provides a controller which calls out to a service with missing dependencies.
LonelyMonkeyController.php file core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php
LonelyMonkeyController::$class property core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php The lonely monkey class.
LonelyMonkeyController::create function core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php Instantiates a new instance of the implementing class using autowiring.
LonelyMonkeyController::testBrokenClass function core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php
LonelyMonkeyController::__construct function core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php
Mapping::getDefinedKeys function core/lib/Drupal/Core/Config/Schema/Mapping.php Gets the keys defined for this mapping (locally defined + inherited).
Mapping::getDynamicallyValidKeys function core/lib/Drupal/Core/Config/Schema/Mapping.php Gets all dynamically valid keys.
Mapping::getOptionalKeys function core/lib/Drupal/Core/Config/Schema/Mapping.php Gets all optional keys in this mapping.
Mapping::getRequiredKeys function core/lib/Drupal/Core/Config/Schema/Mapping.php Gets all required keys in this mapping.
Mapping::getValidKeys function core/lib/Drupal/Core/Config/Schema/Mapping.php Gets all keys allowed in this mapping.
Mapping::processRequiredKeyFlags function core/lib/Drupal/Core/Config/Schema/Mapping.php Validates optional `requiredKey` flags, guarantees one will be set.
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."]
[false, 10.2, "The mapping definition at `foobar` is invalid: its `invalid` key contains a double. It…
MappingTest::testInvalidRequiredKeyFlag function core/tests/Drupal/KernelTests/Config/Schema/MappingTest.php @testWith [true]
[1]
["true"]
[0]
["false"]
MenuListBuilder::SORT_KEY constant core/modules/menu_ui/src/MenuListBuilder.php The entity key to sort the list by.
Merge::key function core/lib/Drupal/Core/Database/Query/Merge.php Sets a single key field to be used as condition for this query.
Merge::keys function core/lib/Drupal/Core/Database/Query/Merge.php Sets the key fields to be used as conditions for this query.
MigrateSourceTest::testCountCacheKey function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that the key can be set for the count cache.
MigrateStubTest::testInvalidSourceIdKeys function core/modules/migrate/tests/src/Kernel/MigrateStubTest.php Tests invalid source ids keys.
ModuleHandler::$includeFileKeys property core/lib/Drupal/Core/Extension/ModuleHandler.php A list of module include file keys.
ModulesListConfirmForm::$keyValueExpirable property core/modules/system/src/Form/ModulesListConfirmForm.php The expirable key value store.
ModulesListForm::$keyValueExpirable property core/modules/system/src/Form/ModulesListForm.php The expirable key value store.
ModulesUninstallConfirmForm::$keyValueExpirable property core/modules/system/src/Form/ModulesUninstallConfirmForm.php The expirable key value store.

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