namespace Drupal\Core\Config\Plugin\Validation\Constraint

Same name in other branches
  1. 11.x Drupal\Core\Config\Plugin\Validation\Constraint
Object name File name Summary
ConfigExistsConstraint core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraint.php Checks that the value is the name of an existing config object.
ConfigExistsConstraintValidator core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php Validates that a given config object exists.
LangcodeRequiredIfTranslatableValuesConstraint core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php #[Constraint(id: 'LangcodeRequiredIfTranslatableValues', label: new TranslatableMarkup('Translatable config has langcode', [], [
'context' => 'Validation',
]), type: [
'config_object',
])]
LangcodeRequiredIfTranslatableValuesConstraintValidator core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php Validates the LangcodeRequiredIfTranslatableValues constraint.
RequiredConfigDependenciesConstraint core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraint.php Checks that config dependencies contain specific types of entities.
RequiredConfigDependenciesConstraintValidator core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraintValidator.php Validates the RequiredConfigDependencies constraint.

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