Search for ConstraintValidator

  1. Search 7.x for ConstraintValidator
  2. Search 9.5.x for ConstraintValidator
  3. Search 8.9.x for ConstraintValidator
  4. Search 10.3.x for ConstraintValidator
  5. Other projects
Title Object type File name Summary
FileSizeLimitConstraintValidator::__construct function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php Creates a new FileSizeConstraintValidator.
FileSizeLimitConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileSizeLimitConstraintValidatorTest.php Tests the FileSizeLimitConstraintValidator.
FileSizeLimitConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileSizeLimitConstraintValidatorTest.php
FileSizeLimitConstraintValidatorTest::testFileValidateSize function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileSizeLimitConstraintValidatorTest.php @covers ::validate
FileValidationConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php Checks that a file referenced in a file field is valid.
FileValidationConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php
FileValidationConstraintValidator::create function core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php Instantiates a new instance of this class.
FileValidationConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php
FileValidationConstraintValidator::__construct function core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php Creates a new FileValidationConstraintValidator.
ForumLeafConstraintValidator class core/modules/forum/src/Plugin/Validation/Constraint/ForumLeafConstraintValidator.php Validates the ForumLeaf constraint.
ForumLeafConstraintValidator.php file core/modules/forum/src/Plugin/Validation/Constraint/ForumLeafConstraintValidator.php
ForumLeafConstraintValidator::validate function core/modules/forum/src/Plugin/Validation/Constraint/ForumLeafConstraintValidator.php
FullyValidatableConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/FullyValidatableConstraintValidator.php FullyValidatable constraint.
FullyValidatableConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/FullyValidatableConstraintValidator.php
FullyValidatableConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/FullyValidatableConstraintValidator.php
FundamentalCompatibilityConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Validates fundamental compatibility of CKEditor 5 with the given text format.
FundamentalCompatibilityConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php
FundamentalCompatibilityConstraintValidator::checkAllHtmlTagsAreCreatable function core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Checks all HTML tags supported by enabled CKEditor 5 plugins are creatable.
FundamentalCompatibilityConstraintValidator::checkHtmlRestrictionsAreCompatible function core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Checks that fundamental CKEditor 5 plugins' HTML tags are allowed.
FundamentalCompatibilityConstraintValidator::checkHtmlRestrictionsMatch function core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Checks the HTML restrictions match the enabled CKEditor 5 plugins' output.
FundamentalCompatibilityConstraintValidator::checkNoMarkupFilters function core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Checks no TYPE_MARKUP_LANGUAGE filters are present.
FundamentalCompatibilityConstraintValidator::findHtmlRestrictorFilterNotAllowingTags function core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Analyzes a text format to find the filter not allowing required tags.
FundamentalCompatibilityConstraintValidator::FUNDAMENTAL_CKEDITOR5_PLUGINS constant core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php The fundamental CKEditor 5 plugins without which it cannot function.
FundamentalCompatibilityConstraintValidator::getFiltersInFormatOfType function core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Gets the filters of the given type in this text format.
FundamentalCompatibilityConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php
ImmutablePropertiesConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php Validates the ImmutableProperties constraint.
ImmutablePropertiesConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php
ImmutablePropertiesConstraintValidator::create function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php Instantiates a new instance of this class.
ImmutablePropertiesConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php
ImmutablePropertiesConstraintValidator::__construct function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php Constructs an ImmutablePropertiesConstraintValidator object.
ImmutablePropertiesConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php @group Entity
@group Validation
ImmutablePropertiesConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php
ImmutablePropertiesConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Modules to install.
ImmutablePropertiesConstraintValidatorTest::testImmutablePropertyCannotBeChanged function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that changing a config entity's immutable property raises an error.
ImmutablePropertiesConstraintValidatorTest::testValidatedEntityMustHaveAnId function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that entities without an ID will raise an exception.
ImmutablePropertiesConstraintValidatorTest::testValidatorRejectsANonExistentProperty function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that the validator throws an exception for non-existent properties.
ImmutablePropertiesConstraintValidatorTest::testValidatorRequiresAConfigEntity function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that only config entities are accepted by the validator.
IsNullConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraintValidator.php Null constraint validator.
IsNullConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraintValidator.php
IsNullConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraintValidator.php
LangcodeRequiredIfTranslatableValuesConstraintValidator class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php Validates the LangcodeRequiredIfTranslatableValues constraint.
LangcodeRequiredIfTranslatableValuesConstraintValidator.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php
LangcodeRequiredIfTranslatableValuesConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php
LinkAccessConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Validates the LinkAccess constraint.
LinkAccessConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
LinkAccessConstraintValidator::$current_user property core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
LinkAccessConstraintValidator::create function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Instantiates a new instance of this class.
LinkAccessConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
LinkAccessConstraintValidator::__construct function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Constructs an instance of the LinkAccessConstraintValidator class.
LinkAccessConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Tests the LinkAccessConstraintValidator validator.

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