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
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.
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().
FormState::addCleanValueKey function core/lib/Drupal/Core/Form/FormState.php Adds a key to the array of form values that will be cleaned.
FormState::getCleanValueKeys function core/lib/Drupal/Core/Form/FormState.php Gets the keys of the form values that will be cleaned.
FormState::setCleanValueKeys function core/lib/Drupal/Core/Form/FormState.php Sets the keys of the form values that will be cleaned.
FormStateDecoratorBase::addCleanValueKey function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Adds a key to the array of form values that will be cleaned.
FormStateDecoratorBase::getCleanValueKeys function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Gets the keys of the form values that will be cleaned.
FormStateDecoratorBase::setCleanValueKeys function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the keys of the form values that will be cleaned.
FormStateDecoratorBaseTest::testAddCleanValueKey function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::addCleanValueKey
FormStateDecoratorBaseTest::testGetCleanValueKeys function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getCleanValueKeys
FormStateDecoratorBaseTest::testSetCleanValueKeys function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setCleanValueKeys
FormStateInterface::addCleanValueKey function core/lib/Drupal/Core/Form/FormStateInterface.php Adds a key to the array of form values that will be cleaned.
FormStateInterface::getCleanValueKeys function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the keys of the form values that will be cleaned.
FormStateInterface::setCleanValueKeys function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the keys of the form values that will be cleaned.
FormStateTest::testAddCleanValueKey function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::addCleanValueKey
FormStateTest::testGetCleanValueKeys function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::getCleanValueKeys
FormStateTest::testSetCleanValueKeys function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::setCleanValueKeys
FunctionsTest::testIndexedKeyedLinks function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Tests links.html.twig using links with indexed keys.
HelpTopicDiscovery::FILE_KEY constant core/modules/help_topics/src/HelpTopicDiscovery.php Defines the key in the discovered data where the file path is stored.
HelpTopicDiscoveryTest::testDiscoveryExceptionInvalidYamlKey function core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @covers ::findAll
http_middleware.monkeys service core/modules/system/tests/modules/error_service_test/error_service_test.services.yml Drupal\error_service_test\MonkeysInTheControlRoom
IFrameUrlHelper::$privateKey property core/modules/media/src/IFrameUrlHelper.php The private key service.
ImageStyle::getPrivateKey function core/modules/image/src/Entity/ImageStyle.php Gets the Drupal private key.

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