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. Search 11.x for key
  6. Other projects
Title Object type File name Summary
StaticMapTest::testMapDotInKey function core/modules/migrate/tests/src/Unit/process/StaticMapTest.php Tests when there is a dot in a map key.
StorageBase::getAllKeys function core/lib/Drupal/Core/KeyValueStore/StorageBase.php
StorageTestBase::testNonExistingKeys function core/tests/Drupal/KernelTests/Core/KeyValueStore/StorageTestBase.php Tests expected behavior for non-existing keys.
StringDatabaseStorage::dbStringKeys function core/modules/locale/src/StringDatabaseStorage.php Gets keys values that are in a database table.
StringLoader::getCacheKey function core/lib/Drupal/Core/Template/Loader/StringLoader.php
StubSchema::addPrimaryKey function core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php
StubSchema::addUniqueKey function core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php
StubSchema::dropPrimaryKey function core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php
StubSchema::dropUniqueKey function core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php
SubProcess::transformKey function core/modules/migrate/src/Plugin/migrate/process/SubProcess.php Runs the process pipeline for the key to determine its dynamic name.
TableDragTest::assertKeyboardAccessibility function core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php Asserts accessibility through keyboard of a test draggable table.
TableDragTest::moveRowWithKeyboard function core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php Moves a row through the keyboard.
TableDragTest::testKeyboardAccessibility function core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php Tests accessibility through keyboard of the tabledrag functionality.
TableDragTest::testRootLeafDraggableRowsWithKeyboard function core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php Tests the root and leaf behaviors for rows.
TempStoreIdentifierInterface::getTempstoreKey function core/modules/layout_builder/src/TempStoreIdentifierInterface.php Gets a string suitable for use as a tempstore key.
TestDefaultHtmlRouteProvider::getEntityTypeIdKeyType function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
TestEntityType::setKey function core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php Sets a specific entity key.
TestLoader::getCacheKey function core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php
TestSessionBag::$storageKey property core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Key used when persisting the session.
TestSessionBag::getStorageKey function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php
TestSubscriber::getStateKey function core/modules/package_manager/tests/modules/package_manager_test_validation/src/EventSubscriber/TestSubscriber.php Computes the state key to use for a given event class.
TestSubscriber::STATE_KEY constant core/modules/package_manager/tests/modules/package_manager_test_validation/src/EventSubscriber/TestSubscriber.php The key to use store the test results.
ThemeRegistryLoader::getCacheKey function core/lib/Drupal/Core/Template/Loader/ThemeRegistryLoader.php
TransitionInterface::PLUGIN_FORM_KEY constant core/modules/workflows/src/TransitionInterface.php The key of the transition plugin form.
TwigEnvironment::CACHE_PREFIX_METADATA_KEY constant core/lib/Drupal/Core/Template/TwigEnvironment.php Key name of the Twig cache prefix metadata key-value pair in State.
TwigPhpStorageCache::generateKey function core/lib/Drupal/Core/Template/TwigPhpStorageCache.php
UniqueKey class core/lib/Drupal/Core/Database/SchemaDefinition/UniqueKey.php Describes a database unique key.
UniqueKey.php file core/lib/Drupal/Core/Database/SchemaDefinition/UniqueKey.php
UniqueKey::__construct function core/lib/Drupal/Core/Database/SchemaDefinition/UniqueKey.php Constructor.
UnpackCollection::key function composer/Plugin/RecipeUnpack/UnpackCollection.php
update.key_value.post_update service core/core.services.yml Drupal\Core\KeyValueStore\KeyValueStoreInterface
UpdateHookRegistry::$keyValue property core/lib/Drupal/Core/Update/UpdateHookRegistry.php The system.schema key value storage.
UpdateHookRegistryTest::$keyValueFactory property core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php The key/value factory.
UpdateHookRegistryTest::$keyValueStore property core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php The key/value store.
UpdateManager::$keyValueStore property core/modules/update/src/UpdateManager.php The key/value store.
UpdateProcessor::$privateKey property core/modules/update/src/UpdateProcessor.php The private key.
Upsert::$key property core/lib/Drupal/Core/Database/Query/Upsert.php The unique or primary key column(s) of the table.
Upsert::key function core/lib/Drupal/Core/Database/Query/Upsert.php Sets the unique / primary key field(s) to be used as condition.
UpsertTest::testCompositeKeyUpsert function core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Confirms that we can upsert records with composite keys successfully.
UpsertTest::testDegeneratedCompositeKeyUpsert function core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Tests an upsert with a composite key and no columns to update.
UpsertTest::testUpsertWithKeywords function core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Confirms that we can upsert records with keywords successfully.
ValidKeysConstraint class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php Checks that all the keys of a mapping are valid and required keys present.
ValidKeysConstraint.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php
ValidKeysConstraint::getAllowedKeys function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php Returns the list of valid keys.
ValidKeysConstraint::__construct function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php Constructs a ValidKeysConstraint object.
ValidKeysConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php Validates the ValidKeys constraint.
ValidKeysConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php
ValidKeysConstraintValidator::getDynamicMessageParameters function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php Computes message parameters for dynamic type violations.
ValidKeysConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php
ValidKeysConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests the ValidKeys validation constraint.

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