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
KeyValueStoreExpirableInterface interface core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php Defines the interface for expiring data in a key/value store.
KeyValueStoreExpirableInterface.php file core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php
KeyValueStoreExpirableInterface::setMultipleWithExpire function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php Saves an array of values with a time to live.
KeyValueStoreExpirableInterface::setWithExpire function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php Saves a value for a given key with a time to live.
KeyValueStoreExpirableInterface::setWithExpireIfNotExists function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php Sets a value for a given key with a time to live if it does not yet exist.
KeyValueStoreInterface interface core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Defines the interface for key/value store implementations.
KeyValueStoreInterface.php file core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php
KeyValueStoreInterface::delete function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Deletes an item from the key/value store.
KeyValueStoreInterface::deleteAll function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Deletes all items from the key/value store.
KeyValueStoreInterface::deleteMultiple function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Deletes multiple items from the key/value store.
KeyValueStoreInterface::get function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns the stored value for a given key.
KeyValueStoreInterface::getAll function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns all stored key/value pairs in the collection.
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.
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().
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
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.
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

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