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
SqlContentEntityStorage::$defaultLangcodeKey property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php The default language entity key.
SqlContentEntityStorage::$langcodeKey property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php The entity langcode key.
SqlContentEntityStorage::$revisionKey property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Name of entity's revision database table field, if it supports revisions.
SqlContentEntityStorageSchema::addSharedTableFieldForeignKey function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Adds a foreign key for the specified field to the given schema definition.
SqlContentEntityStorageSchema::addSharedTableFieldUniqueKey function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Adds a unique key for the specified field to the given schema definition.
SqlContentEntityStorageSchema::addUniqueKey function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Creates a unique key, dropping it if already existing.
SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Returns a list of column schema keys affecting data storage.
SqlContentEntityStorageSchema::getFieldForeignKeys function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets field foreign keys.
SqlContentEntityStorageSchema::getFieldUniqueKeys function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets a unique key schema array for a given field.
StageFixtureManipulator::STATE_KEY constant core/modules/package_manager/tests/modules/fixture_manipulator/src/StageFixtureManipulator.php The state key to use.
State::$keysSetDuringRequest property core/lib/Drupal/Core/State/State.php Tracks keys that have been modified during the request lifecycle.
State::$keyValueStore property core/lib/Drupal/Core/State/State.php The key value store to use.
State::registerKeySetDuringRequest function core/lib/Drupal/Core/State/State.php Registers a key that was set during the request.
StateInterface::PLUGIN_FORM_KEY constant core/modules/workflows/src/StateInterface.php The key of the state plugin form.
StatementBase::fetchAllKeyed function core/lib/Drupal/Core/Database/Statement/StatementBase.php
StatementInterface::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementInterface.php Returns the entire result set as a single associative array.
StatementIteratorTrait::$resultsetKey property core/lib/Drupal/Core/Database/StatementIteratorTrait.php The key of the current row.
StatementIteratorTrait::key function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Returns the key of the current element.
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 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.
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
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 The key/value factory.

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