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
SortArray::sortByKeyString function core/lib/Drupal/Component/Utility/SortArray.php Sorts a string array item by an arbitrary key.
SourcePluginBase::$cacheKey property core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Key to use for caching counts.
SourcePluginBase::key function core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Gets the iterator key.
Sql::$currentKey property core/modules/migrate/src/Plugin/migrate/id_map/Sql.php The current key.
Sql::key function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Implementation of \Iterator::key().
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.
StageBase::TEMPSTORE_APPLY_TIME_KEY constant core/modules/package_manager/src/StageBase.php The tempstore key under which to store the time that ::apply() was called.
StageBase::TEMPSTORE_LOCK_KEY constant core/modules/package_manager/src/StageBase.php The tempstore key under which to store the locking info for this stage.
StageBase::TEMPSTORE_METADATA_KEY constant core/modules/package_manager/src/StageBase.php The tempstore key under which to store arbitrary metadata for this stage.
StageBase::TEMPSTORE_STAGING_ROOT_KEY constant core/modules/package_manager/src/StageBase.php The tempstore key under which to store the path of stage root directory.
StageFixtureManipulator::STATE_KEY constant core/modules/package_manager/tests/modules/fixture_manipulator/src/StageFixtureManipulator.php The state key to use.
State::$keyValueStore property core/lib/Drupal/Core/State/State.php The key value store to use.
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 Returns the entire result set as a single associative array.
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 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.
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

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