Search for key

  1. Search 7.x for key
  2. Search 9.5.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
db_drop_primary_key function core/includes/database.inc Drops the primary key of a database table.
db_drop_unique_key function core/includes/database.inc Drops a unique key.
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.
DraggableListBuilder::$weightKey property core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php Name of the entity's weight field or FALSE if no field is provided.
drupal-8.theme-dependencies-in-module-key-2904550.php file core/modules/layout_discovery/tests/fixtures/update/drupal-8.theme-dependencies-in-module-key-2904550.php Contains database additions to drupal-8.4.0.bare.standard.php.gz for testing
upgrade path of https://www.drupal.org/project/drupal/issues/2904550.
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.
EditDetails::getFormKey function core/modules/views_ui/src/Form/Ajax/EditDetails.php Returns the key that represents this form.
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 Gets the key that is used to store configuration dependencies.
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.
EntityDefinitionTestTrait::makeBaseFieldEntityKey function core/modules/system/src/Tests/Entity/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
EntityKeysTest::multipleKeysCacheTestCases function core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php Data provider for ::testMultipleKeysCache.
EntityKeysTest::testMultipleKeysCache function core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php Test the cache when multiple keys reference a single field.
EntityLastInstalledSchemaRepository::$keyValueFactory property core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php The key-value factory.
EntityModerationRouteProvider::getEntityTypeIdKeyType function core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php Gets the type of the ID key for a given entity type.
EntityQueryTest::testConditionOnRevisionMetadataKeys function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests entity queries with condition on the revision metadata keys.
EntityReferenceSelectionReferenceableTest::testReferenceablesWithNoLabelKey function core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php Tests values returned by SelectionInterface::getReferenceableEntities()
when the target entity type has no 'label' key.
EntitySchemaTest::findPrimaryKeys function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Finds the primary keys for a given entity type.
EntitySchemaTest::providerTestPrimaryKeyUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Provides test cases for EntitySchemaTest::testPrimaryKeyUpdate()
EntitySchemaTest::testPrimaryKeyUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Tests deleting and creating a field that is part of a primary key.
EntityStorageBase::$idKey property core/lib/Drupal/Core/Entity/EntityStorageBase.php Name of the entity's ID field in the entity database table.

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