Search for key

  1. Search 7.x for key
  2. Search 9.5.x for key
  3. Search 10.3.x for key
  4. Search 11.x for key
  5. Other projects
Title Object type File name Summary
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 Sets up the key value entity storage.
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.
LayoutBuilderQuickEditTest::replaceLayoutBuilderFieldIdKeys function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php Replaces the array keys with Layout Builder field IDs when needed.
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.
layout_builder_post_update_fix_tempstore_keys function core/modules/layout_builder/layout_builder.post_update.php Fix Layout Builder tempstore keys of existing entries.
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.
LocaleProjectStorage::$keyValueStore property core/modules/locale/src/LocaleProjectStorage.php The key value store to use.
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::__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::create function core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php Instantiates a new instance of this class.
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
MediaUpdateTest::testOwnerEntityKey function core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php Tests that the media entity type has an 'owner' entity key.
MenuLinkContentUpdateTest::testPublishedEntityKeyAddition function core/modules/menu_link_content/tests/src/Functional/Update/MenuLinkContentUpdateTest.php Tests the addition of the publishing status entity key.
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 Test 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.
ModulesUninstallForm::$keyValueExpirable property core/modules/system/src/Form/ModulesUninstallForm.php The expirable key value store.
ModuleVersionTest::createKeyedTestCases function core/modules/update/tests/src/Unit/ModuleVersionTest.php Creates test case arrays for data provider methods.
MonkeysInTheControlRoom class core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php A http middleware designed to cause bedlam.
MonkeysInTheControlRoom.php file core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php
MonkeysInTheControlRoom::$app property core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php The app kernel.
MonkeysInTheControlRoom::handle function core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php
MonkeysInTheControlRoom::__construct function core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php MonkeysInTheControlRoom constructor.
MoveBlockFormTest::moveBlockWithKeyboard function core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php Moves a block in the draggable table.
MoveRevisionMetadataFieldsUpdateTest::testAddingRequiredRevisionMetadataKeys function core/modules/system/tests/src/Functional/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php Tests the addition of required revision metadata keys.
NestedArray::keyExists function core/lib/Drupal/Component/Utility/NestedArray.php Determines whether a nested array contains the requested keys.
NestedArrayTest::testKeyExists function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests existence of array key.
NestedArrayTest::testMergeExplicitKeys function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests that even with explicit keys, values are appended, not merged.
NestedArrayTest::testMergeImplicitKeys function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests that arrays with implicit keys are appended, not merged.
NestedArrayTest::testMergeOutOfSequenceKeys function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests that array keys values on the first array are ignored when merging.

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