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 10.3.x for key
  5. Other projects
Title Object type File name Summary
EntityListBuilder::SORT_KEY constant core/lib/Drupal/Core/Entity/EntityListBuilder.php The entity key to sort the list by.
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
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.
EntityTypeInterface::getKeys function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets an array of entity keys.
EntityTypeInterface::hasKey function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if a given entity key exists.
EntityTypeTest::providerTestGetKeys function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Provides test data.
EntityTypeTest::testGetKey function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getKey() method.
EntityTypeTest::testGetKeys function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getKeys() method.
EntityTypeTest::testHasKey function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the hasKey() method.
EntityUrlTest::HAS_BUNDLE_KEY constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Indicator that the test entity type has a bundle key.
EntityUrlTest::HAS_NO_BUNDLE_KEY constant core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Indicator that the test entity type has no bundle key.
entity_test_entity_test_mul_langcode_key_translation_create function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_ENTITY_TYPE_translation_create() for 'entity_test_mul_langcode_key'.
entity_test_entity_test_mul_langcode_key_translation_delete function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_ENTITY_TYPE_translation_delete() for 'entity_test_mul_langcode_key'.
entity_test_entity_test_mul_langcode_key_translation_insert function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_ENTITY_TYPE_translation_insert() for 'entity_test_mul_langcode_key'.
ExcludedModulesEventSubscriber::EXCLUDED_MODULES_KEY constant core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php The key in settings and state for listing excluded modules.
ExtensionVersionTest::createKeyedTestCases function core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php Creates test case arrays for data provider methods.
FieldConfigValidationTest::testRequiredPropertyKeysMissing function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php A property that is required must have a value (i.e. not NULL).
FieldDefinitionListener::$keyValueFactory property core/lib/Drupal/Core/Field/FieldDefinitionListener.php The key-value factory.
FieldDefinitionListenerTest::$keyValueFactory property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The key-value factory.
FieldDiscovery::$bundleKeys property core/modules/migrate_drupal/src/FieldDiscovery.php An array of bundle keys, keyed by drupal core version.
FieldDiscoveryTestTrait::assertFieldProcessKeys function core/modules/migrate_drupal/tests/src/Traits/FieldDiscoveryTestTrait.php Asserts the field discovery returns the expected processes.
FieldInputValueNormalizerTraitTest::keyValueByDeltaTestCases function core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php Provides test cases for ::testKeyValueByDelta.
FieldInputValueNormalizerTraitTest::testKeyValueByDelta function core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php @dataProvider keyValueByDeltaTestCases
@covers ::normalizeValue
FieldInputValueNormalizerTraitTest::testKeyValueByDeltaUndefinedVariables function core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php @covers ::normalizeValue
FieldSqlStorageTest::testFieldSqlStorageForeignKeys function core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php Tests foreign key support.
Filter::CONDITION_KEY constant core/modules/jsonapi/src/Query/Filter.php Key in the filter[<key>] parameter for conditions.
Filter::GROUP_KEY constant core/modules/jsonapi/src/Query/Filter.php Key in the filter[<key>] parameter for groups.
Filter::KEY_NAME constant core/modules/jsonapi/src/Query/Filter.php The JSON:API filter key name.
Filter::MEMBER_KEY constant core/modules/jsonapi/src/Query/Filter.php Key in the filter[<id>][<key>] parameter for group membership.
FilterFormatListBuilder::$entitiesKey property core/modules/filter/src/FilterFormatListBuilder.php The key to use for the form element containing the entities.
FormCache::$keyValueExpirableFactory property core/lib/Drupal/Core/Form/FormCache.php The factory for expirable key value stores used by form cache.
FormCacheTest::$keyValueExpirableFactory property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The expirable key value factory.
FormState::$cleanValueKeys property core/lib/Drupal/Core/Form/FormState.php An associative array of form value keys to be removed by cleanValues().

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