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
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.
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.
StatementPrefetchIterator::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns the entire result set as a single associative array.
StatementTest::testPartiallyIteratedStatementFetchAllKeyed function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchAllKeyed after a partial traversal.
StatementWrapperIterator::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns the entire result set as a single associative array.
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.
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
theme_test_preprocess_theme_test_preprocess_suggestions__monkey function core/modules/system/tests/modules/theme_test/theme_test.module Tests a module overriding a default hook with a suggestion.
TipsPluginCollection::$pluginKey property core/modules/tour/src/TipsPluginCollection.php The key within the plugin configuration that contains the plugin ID.
Tour::$keyedRoutes property core/modules/tour/src/Entity/Tour.php The routes on which this tour should be displayed, keyed by route id.
Tour::resetKeyedRoutes function core/modules/tour/src/Entity/Tour.php Resets the statically cached keyed routes.
TourInterface::resetKeyedRoutes function core/modules/tour/src/TourInterface.php Resets the statically cached keyed routes.
TransitionInterface::PLUGIN_FORM_KEY constant core/modules/workflows/src/TransitionInterface.php The key of the transition plugin form.
TwigComponentLoader::getCacheKey function core/modules/sdc/src/Twig/TwigComponentLoader.php
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.
UnpublishByKeywordActionTest class core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php @group node
UnpublishByKeywordActionTest.php file core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php
UnpublishByKeywordActionTest::$modules property core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php Modules to enable.
UnpublishByKeywordActionTest::setUp function core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php
UnpublishByKeywordActionTest::testUnpublishByKeywordAction function core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php Tests creating an action using the node_unpublish_by_keyword_action plugin.
UnpublishByKeywordComment class core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php Unpublishes a comment containing certain keywords.
UnpublishByKeywordComment.php file core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php
UnpublishByKeywordComment::$renderer property core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php The renderer.
UnpublishByKeywordComment::$viewBuilder property core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php The comment entity builder handler.

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