Search for key

  1. Search 7.x for key
  2. Search 8.9.x for key
  3. Search 10.3.x for key
  4. Search 11.x for key
  5. Other projects
Title Object type File name Summary
image_filter_keyword function core/modules/image/image.module Returns the offset in pixels from the anchor.
InfoParserDynamic::getRequiredKeys function core/lib/Drupal/Core/Extension/InfoParserDynamic.php Returns an array of keys required to exist in .info.yml file.
InfoParserUnitTest::testInfoParserMissingKey function core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php Tests that missing required key is detected.
InfoParserUnitTest::testInfoParserMissingKeys function core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php Tests that missing required keys are detected.
Inspector::assertAllHaveKey function core/lib/Drupal/Component/Assertion/Inspector.php Asserts all given keys exist in every member array.
InspectorTest::testAssertAllHaveKey function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members have specified keys.
IntefaceWithConstants::SOME_KEY constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/IntefaceWithConstants.php
InvalidLookupKeyException class core/lib/Drupal/Core/Config/Entity/Query/InvalidLookupKeyException.php Exception thrown when a config entity uses an invalid lookup key.
InvalidLookupKeyException.php file core/lib/Drupal/Core/Config/Entity/Query/InvalidLookupKeyException.php
ItemList::rekey function core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php Renumbers the items in the list.
jquery_keyevent_polyfill_test.info.yml file core/modules/system/tests/modules/jquery_keyevent_polyfilll_test/jquery_keyevent_polyfill_test.info.yml core/modules/system/tests/modules/jquery_keyevent_polyfilll_test/jquery_keyevent_polyfill_test.info.yml
jquery_keyevent_polyfill_test.libraries.yml file core/modules/system/tests/modules/jquery_keyevent_polyfilll_test/jquery_keyevent_polyfill_test.libraries.yml core/modules/system/tests/modules/jquery_keyevent_polyfilll_test/jquery_keyevent_polyfill_test.libraries.yml
jquery_keyevent_polyfill_test.module file core/modules/system/tests/modules/jquery_keyevent_polyfilll_test/jquery_keyevent_polyfill_test.module Helper module for jQuery 3.6 FunctionalJavascript test compatibility.
jquery_keyevent_polyfill_test_library_info_alter function core/modules/system/tests/modules/jquery_keyevent_polyfilll_test/jquery_keyevent_polyfill_test.module Implements hook_library_info_alter().
KernelTestBase::$keyValue property core/tests/Drupal/KernelTests/KernelTestBase.php The key_value service that must persist between container rebuilds.
keyvalue service core/core.services.yml Drupal\Core\KeyValueStore\KeyValueFactory
keyvalue.database service core/core.services.yml Drupal\Core\KeyValueStore\KeyValueDatabaseFactory
keyvalue.expirable service core/core.services.yml Drupal\Core\KeyValueStore\KeyValueExpirableFactory
keyvalue.expirable.database service core/core.services.yml Drupal\Core\KeyValueStore\KeyValueDatabaseExpirableFactory
KeyValueContentEntityStorage class core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Provides a key value backend for content entities.
KeyValueContentEntityStorage.php file core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php
KeyValueContentEntityStorage::createRevision function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Creates a new revision starting off from the specified entity object.
KeyValueContentEntityStorage::createTranslation function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Constructs a new entity translation object, without permanently saving it.
KeyValueContentEntityStorage::createWithSampleValues function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Creates an entity with sample field values.
KeyValueContentEntityStorage::getLatestRevisionId function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Returns the latest revision identifier for an entity.
KeyValueContentEntityStorage::getLatestTranslationAffectedRevisionId function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Returns the latest revision affecting the specified translation.
KeyValueContentEntityStorage::hasStoredTranslations function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php
KeyValueContentEntityStorage::loadMultipleRevisions function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Loads multiple entity revisions.
KeyValueContentEntityStorageTest class core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php Tests KeyValueEntityStorage for content entities.
KeyValueContentEntityStorageTest.php file core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php
KeyValueContentEntityStorageTest::$modules property core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php Modules to enable.
KeyValueContentEntityStorageTest::setUp function core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php
KeyValueContentEntityStorageTest::testCRUD function core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php Tests CRUD operations.
KeyValueContentEntityStorageTest::testUninstall function core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php Tests uninstallation of a module that does not use the SQL entity storage.
KeyValueDatabaseExpirableFactory class core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Defines the key/value store factory for the database backend.
KeyValueDatabaseExpirableFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php
KeyValueDatabaseExpirableFactory::$connection property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php The database connection.
KeyValueDatabaseExpirableFactory::$serializer property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php The serialization class to use.
KeyValueDatabaseExpirableFactory::$storages property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Holds references to each instantiation so they can be terminated.
KeyValueDatabaseExpirableFactory::catchException function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Act on an exception when the table might not have been created.
KeyValueDatabaseExpirableFactory::garbageCollection function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Deletes expired items.
KeyValueDatabaseExpirableFactory::get function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Constructs a new expirable key/value store for a given collection name.
KeyValueDatabaseExpirableFactory::__construct function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Constructs this factory object.
KeyValueDatabaseFactory class core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php Defines the key/value store factory for the database backend.
KeyValueDatabaseFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php
KeyValueDatabaseFactory::$connection property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php The database connection to use.
KeyValueDatabaseFactory::$serializer property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php The serialization class to use.
KeyValueDatabaseFactory::get function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php Constructs a new key/value store for a given collection name.
KeyValueDatabaseFactory::__construct function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php Constructs this factory object.
KeyValueEntityStorage class core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php Provides a key value backend for entities.

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