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
UnpublishByKeywordNode::buildConfigurationForm function core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php Form constructor.
UnpublishByKeywordNode::defaultConfiguration function core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php Gets default configuration for this plugin.
UnpublishByKeywordNode::execute function core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php Executes the plugin.
UnpublishByKeywordNode::submitConfigurationForm function core/modules/node/src/Plugin/Action/UnpublishByKeywordNode.php Form submission handler.
UpdateHookRegistry::$keyValue property core/lib/Drupal/Core/Update/UpdateHookRegistry.php The system.schema key value storage.
UpdateHookRegistryTest::$keyValueFactory property core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php
UpdateHookRegistryTest::$keyValueStore property core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php
UpdateManager::$keyValueStore property core/modules/update/src/UpdateManager.php The key/value store.
UpdateProcessor::$privateKey property core/modules/update/src/UpdateProcessor.php The private key.
Upsert::$key property core/lib/Drupal/Core/Database/Query/Upsert.php The unique or primary key of the table.
Upsert::key function core/lib/Drupal/Core/Database/Query/Upsert.php Sets the unique / primary key field to be used as condition for this query.
UpsertTest::testUpsertWithKeywords function core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Confirms that we can upsert records with keywords successfully.
ValidKeysConstraint class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php Checks that all the keys of a mapping are valid and required keys present.
ValidKeysConstraint.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php
ValidKeysConstraint::$allowedKeys property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php Keys which are allowed in the validated array, or `<infer>` to auto-detect.
ValidKeysConstraint::$dynamicInvalidKeyMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php The error message if a key is unknown for the resolved type.
ValidKeysConstraint::$dynamicMissingRequiredKeyMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php The error message if a dynamically required key is missing.
ValidKeysConstraint::$indexedArrayMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php The error message if the array being validated is a list.
ValidKeysConstraint::$invalidKeyMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php The error message if a key is invalid.
ValidKeysConstraint::$missingRequiredKeyMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php The error message if a key is missing.
ValidKeysConstraint::getAllowedKeys function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php Returns the list of valid keys.
ValidKeysConstraint::getDefaultOption function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php
ValidKeysConstraint::getRequiredOptions function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php
ValidKeysConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php Validates the ValidKeys constraint.
ValidKeysConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php
ValidKeysConstraintValidator::getDynamicMessageParameters function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php Computes message parameters for dynamic type violations.
ValidKeysConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php
ValidKeysConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests the ValidKeys validation constraint.
ValidKeysConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php
ValidKeysConstraintValidatorTest::$config property core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php The typed config under test.
ValidKeysConstraintValidatorTest::assertValidationErrors function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Asserts a set of validation errors is raised when the config is validated.
ValidKeysConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php
ValidKeysConstraintValidatorTest::testBothUnknownAndDynamicallyRequiredKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting both unknown and required keys.
ValidKeysConstraintValidatorTest::testDynamicallyRequiredKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting missing dynamically required keys.
ValidKeysConstraintValidatorTest::testMarkedAsOptional function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests ValidKeys constraint validator detecting optional keys.
ValidKeysConstraintValidatorTest::testRequiredKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting missing required keys.
ValidKeysConstraintValidatorTest::testSupportedKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting unsupported keys.
ValidKeysConstraintValidatorTest::testUnknownKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting unknown keys.
ValidKeysConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests the ValidKeys constraint validator.
ValidKeysConstraintValidatorTest::testValidKeyInference function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests that valid keys can be inferred from the data definition.
VariationCacheTest::$cacheKeys property core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php The cache keys this test will store things under.
ViewsDataTest::providerTestGetEmptyKey function core/modules/views/tests/src/Unit/ViewsDataTest.php
ViewsDataTest::testGetEmptyKey function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests that getting data with an empty key throws an exception.
ViewsFormInterface::getFormKey function core/modules/views_ui/src/Form/Ajax/ViewsFormInterface.php Returns the key that represents this form.
ViewUI::getConfigDependencyKey function core/modules/views_ui/src/ViewUI.php Gets the key that is used to store configuration dependencies.
VocabularyListBuilder::$entitiesKey property core/modules/taxonomy/src/VocabularyListBuilder.php The key to use for the form element containing the entities.
WorkflowTypeInterface::PLUGIN_FORM_KEY constant core/modules/workflows/src/WorkflowTypeInterface.php The key of the global workflow plugin form.
WorkspacesAliasManager::setCacheKey function core/modules/workspaces/src/WorkspacesAliasManager.php
YamlDirectoryDiscovery::$fileCacheKeySuffix property core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php The suffix for the file cache key.
YamlDirectoryDiscovery::$idKey property core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php The key contained in the discovered data that identifies it.

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