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
ConfigHandlerGroup::getFormKey function core/modules/views_ui/src/Form/Ajax/ConfigHandlerGroup.php Returns the key that represents this form.
ConfigTest::assertOverriddenKeys function core/tests/Drupal/Tests/Core/Config/ConfigTest.php Asserts that the correct keys are overridden.
Connection::$key property core/lib/Drupal/Core/Database/Connection.php The key representing this connection.
Connection::getKey function core/lib/Drupal/Core/Database/Connection.php Returns the key this connection is associated with.
Connection::setKey function core/lib/Drupal/Core/Database/Connection.php Tells this connection object what its key is.
ContentEntityBase::$defaultLangcodeKey property core/lib/Drupal/Core/Entity/ContentEntityBase.php The default langcode entity key.
ContentEntityBase::$entityKeys property core/lib/Drupal/Core/Entity/ContentEntityBase.php Holds untranslatable entity keys such as the ID, bundle, and revision ID.
ContentEntityBase::$langcodeKey property core/lib/Drupal/Core/Entity/ContentEntityBase.php The language entity key.
ContentEntityBase::$revisionTranslationAffectedKey property core/lib/Drupal/Core/Entity/ContentEntityBase.php The revision translation affected entity key.
ContentEntityBase::$translatableEntityKeys property core/lib/Drupal/Core/Entity/ContentEntityBase.php Holds translatable entity keys such as the label.
ContentEntityBase::getEntityKey function core/lib/Drupal/Core/Entity/ContentEntityBase.php Gets the value of the given entity key, if defined.
ContentEntityCloneTest::testEntityKeysModifications function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests modifications on entity keys of a cloned entity object.
ContentEntityStorageBase::$bundleKey property core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php The entity bundle key.
ContentEntityType::$revision_metadata_keys property core/lib/Drupal/Core/Entity/ContentEntityType.php An array of entity revision metadata keys.
ContentEntityType::getConfigDependencyKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Gets the key that is used to store configuration dependencies.
ContentEntityType::getRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Gets a specific entity revision metadata key.
ContentEntityType::getRevisionMetadataKeys function core/lib/Drupal/Core/Entity/ContentEntityType.php Gets an array of entity revision metadata keys.
ContentEntityType::hasRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Indicates if a given entity revision metadata key exists.
ContentEntityType::setRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Sets a revision metadata key.
ContentEntityTypeInterface::getRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Gets a specific entity revision metadata key.
ContentEntityTypeInterface::getRevisionMetadataKeys function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Gets an array of entity revision metadata keys.
ContentEntityTypeInterface::hasRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Indicates if a given entity revision metadata key exists.
ContentEntityTypeInterface::setRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Sets a revision metadata key.
ContentModerationStateStorageSchemaTest::testUniqueKeys function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php Tests the ContentModerationState unique keys.
ContextCacheKeys class core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php A value object to store generated cache keys with its cacheability metadata.
ContextCacheKeys.php file core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php
ContextCacheKeys::$keys property core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php The generated cache keys.
ContextCacheKeys::getKeys function core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php Gets the generated cache keys.
ContextCacheKeys::__construct function core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php Constructs a ContextCacheKeys object.
ControllerBase::$keyValue property core/lib/Drupal/Core/Controller/ControllerBase.php The key-value storage.
ControllerBase::keyValue function core/lib/Drupal/Core/Controller/ControllerBase.php Returns a key/value storage collection.
CsrfRequestHeaderAccessCheck::TOKEN_KEY constant core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php A string key that will used to designate the token used by this class.
CsrfTokenGenerator::$privateKey property core/lib/Drupal/Core/Access/CsrfTokenGenerator.php The private key service.
CsrfTokenGeneratorTest::$privateKey property core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php The mock private key instance.
Database::$activeKey property core/lib/Drupal/Core/Database/Database.php The key of the currently active database connection.
DataFieldRow::getFieldKeyAlias function core/modules/rest/src/Plugin/views/row/DataFieldRow.php Return an alias for a field ID, as set in the options form.
DbCommandBaseTest::testSpecifyDatabaseKey function core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php Tests specifying a database key.
DbUpdateController::$keyValueExpirableFactory property core/modules/system/src/Controller/DbUpdateController.php The keyvalue expirable factory.
DefaultHtmlRouteProvider::getEntityTypeIdKeyType function core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php Gets the type of the ID key for a given entity type.
DefaultHtmlRouteProviderTest::testGetEntityTypeIdKeyType function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getEntityTypeIdKeyType
DefaultHtmlRouteProviderTest::testGetEntityTypeIdKeyTypeNotFieldable function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getEntityTypeIdKeyType
DefaultLazyPluginCollection::$pluginKey property core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php The key within the plugin configuration that contains the plugin ID.
DefaultPluginManager::$cacheKey property core/lib/Drupal/Core/Plugin/DefaultPluginManager.php The cache key.
DefaultsEntityForm::layoutBuilderElementGetKeys function core/modules/layout_builder/src/Form/DefaultsEntityForm.php Form element #process callback.
DefaultsSectionStorageTest::testGetTempstoreKey function core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php @covers ::getTempstoreKey
Display::getFormKey function core/modules/views_ui/src/Form/Ajax/Display.php Returns the key that represents this form.
DisplayPluginCollection::$pluginKey property core/modules/views/src/DisplayPluginCollection.php The key within the plugin configuration that contains the plugin ID.
DocParserTest::testKeyHasNumber function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DocParserTest::testReservedKeywordsInAnnotations function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DraggableListBuilder::$entitiesKey property core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php The key to use for the form element containing the entities.

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