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
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.
DropIndexAllOnKeyValueExpireTableUpdateTest class core/modules/system/tests/src/Functional/Update/DropIndexAllOnKeyValueExpireTableUpdateTest.php Tests that 'all' index is dropped from the 'key_value_expire' table.
DropIndexAllOnKeyValueExpireTableUpdateTest.php file core/modules/system/tests/src/Functional/Update/DropIndexAllOnKeyValueExpireTableUpdateTest.php
DropIndexAllOnKeyValueExpireTableUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/DropIndexAllOnKeyValueExpireTableUpdateTest.php Set database dump files to be used.
DropIndexAllOnKeyValueExpireTableUpdateTest::testUpdate function core/modules/system/tests/src/Functional/Update/DropIndexAllOnKeyValueExpireTableUpdateTest.php Tests that 'all' index is dropped from the 'key_value_expire' table.
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.
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 Tests 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 referenceable entities with no target entity type '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.
EntityStorageBase::$langcodeKey property core/lib/Drupal/Core/Entity/EntityStorageBase.php The name of the entity langcode property.
EntityStorageBase::$uuidKey property core/lib/Drupal/Core/Entity/EntityStorageBase.php Name of entity's UUID database table field, if it supports UUIDs.
EntityTest::getEntityKey function core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php Gets the value of the given entity key, if defined.
EntityTestMulLangcodeKey class core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulLangcodeKey.php Defines a test entity class using a custom langcode entity key.
EntityTestMulLangcodeKey.php file core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulLangcodeKey.php
EntityType::$entity_keys property core/lib/Drupal/Core/Entity/EntityType.php An array of entity keys.
EntityType::getConfigDependencyKey function core/lib/Drupal/Core/Entity/EntityType.php Gets the key that is used to store configuration dependencies.
EntityType::getKey function core/lib/Drupal/Core/Entity/EntityType.php Gets a specific entity key.
EntityType::getKeys function core/lib/Drupal/Core/Entity/EntityType.php Gets an array of entity keys.
EntityType::hasKey function core/lib/Drupal/Core/Entity/EntityType.php Indicates if a given entity key exists.
EntityTypeInterface::getConfigDependencyKey function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the key that is used to store configuration dependencies.
EntityTypeInterface::getKey function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets a specific entity key.

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