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 main for key
  6. Other projects
Title Object type File name Summary
StatementTest::testPartiallyIteratedStatementFetchAllKeyed function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchAllKeyed after a partial traversal.
StateTest::$keyValueStorage property core/tests/Drupal/Tests/Core/State/StateTest.php The mocked key value store.
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 Retrieves all keys in the collection.
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 Add a primary key.
StubSchema::addUniqueKey function core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php Add a unique key.
StubSchema::dropPrimaryKey function core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php Drop the primary key.
StubSchema::dropUniqueKey function core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php Drop a unique key.
SubProcess::transformKey function core/modules/migrate/src/Plugin/migrate/process/SubProcess.php Runs the process pipeline for the key to determine its dynamic name.
system_post_update_remove_path_key function core/modules/system/system.post_update.php Remove path key in system.file.
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 Gets the type of the ID key for a given entity type.
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.
UniqueLabelInListConstraint::$labelKey property core/modules/ckeditor5/src/Plugin/Validation/Constraint/UniqueLabelInListConstraint.php The key of the label that this validation constraint should check.
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
UpdateHookRegistryTest::$keyValueStore property core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php
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::$allowedKeys property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php Keys which are allowed in the validated array, or `<infer>` to auto-detect.
ValidKeysConstraint::getAllowedKeys function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php Returns the list of valid keys.
ValidKeysConstraint::getDefaultOption function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php

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