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 11.x for key
  5. Other projects
Title Object type File name Summary
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
DraggableListBuilderTrait::$entitiesKey property core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php The key to use for the form element containing the entities.
DraggableListBuilderTrait::$weightKey property core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php Name of the entity's weight field or FALSE if no field is provided.
DriverSpecificSchemaTestBase::providerTestSchemaCreateTablePrimaryKey function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Provides test cases for SchemaTest::testSchemaCreateTablePrimaryKey().
DriverSpecificSchemaTestBase::testChangePrimaryKeyToSerial function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests converting an int to a serial when the int column has data.
DriverSpecificSchemaTestBase::testFindPrimaryKeyColumns function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php @covers ::findPrimaryKeyColumns
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyAddition function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests adding an invalid field specification as a primary key.
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyChange function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests changing the primary key with an invalid field specification.
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyOnTableCreation function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests an invalid field specification as a primary key on table creation.
DriverSpecificSchemaTestBase::testReservedKeywordsForNaming function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests handling with reserved keywords for naming tables, fields and more.
DriverSpecificSchemaTestBase::testSchemaChangePrimaryKey function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests various schema changes' effect on the table's primary key.
Drupal::keyValue function core/lib/Drupal.php Returns a key/value storage collection.
Drupal::keyValueExpirable function core/lib/Drupal.php Returns an expirable key value store collection.
DrupalKernel::getContainerCacheKey function core/lib/Drupal/Core/DrupalKernel.php Returns the container cache key based on the environment.
DrupalTest::testKeyValue function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the keyValue() method.
DrupalTest::testKeyValueExpirable function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the keyValueExpirable() method.
Drupal\Core\PrivateKey service core/core.services.yml
EditDetails::getFormKey function core/modules/views_ui/src/Form/Ajax/EditDetails.php Returns the key that represents this form.
EditorValidationTest::$propertiesWithRequiredKeys property core/modules/editor/tests/src/Kernel/EditorValidationTest.php
EditorValidationTest::testRequiredPropertyKeysMissing function core/modules/editor/tests/src/Kernel/EditorValidationTest.php A property that is required must have a value (i.e. not NULL).
entity.query.keyvalue service core/core.services.yml Drupal\Core\Entity\KeyValueStore\Query\QueryFactory
Entity::getKey function core/modules/migrate/src/Plugin/migrate/destination/Entity.php Returns a specific entity key.
EntityAutocompleteController::$keyValue property core/modules/system/src/Controller/EntityAutocompleteController.php The key value store.
EntityBase::getConfigDependencyKey function core/lib/Drupal/Core/Entity/EntityBase.php
EntityCondition::OPERATOR_KEY constant core/modules/jsonapi/src/Query/EntityCondition.php The operator key in the condition: filter[lorem][condition][<operator>].
EntityCondition::PATH_KEY constant core/modules/jsonapi/src/Query/EntityCondition.php The field key in the filter condition: filter[lorem][condition][<field>].
EntityCondition::VALUE_KEY constant core/modules/jsonapi/src/Query/EntityCondition.php The value key in the filter condition: filter[lorem][condition][<value>].
EntityCreateAccessCheck::$requirementsKey property core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php The key used by the routing requirement.
EntityCreateAnyAccessCheck::$requirementsKey property core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php The key used by the routing requirement.
EntityDefinitionTestTrait::makeBaseFieldEntityKey function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Promotes a field to an entity key.
EntityDefinitionUpdateTest::testBaseFieldEntityKeyUpdateWithExistingData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests updating a base field when it has existing data.
EntityDisplayPluginCollection::$pluginKey property core/lib/Drupal/Core/Entity/EntityDisplayPluginCollection.php The key within the plugin configuration that contains the plugin ID.
EntityFieldManager::$keyValueFactory property core/lib/Drupal/Core/Entity/EntityFieldManager.php The key-value factory.
EntityFieldManagerTest::$keyValueFactory property core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php The keyvalue factory.
EntityInterface::getConfigDependencyKey function core/lib/Drupal/Core/Entity/EntityInterface.php Gets the key that is used to store configuration dependencies.
EntityKeysTest class core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php Test the behavior of entity keys.
EntityKeysTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php

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