Search for ConstraintValidator

  1. Search 7.x for ConstraintValidator
  2. Search 9.5.x for ConstraintValidator
  3. Search 10.3.x for ConstraintValidator
  4. Search 11.x for ConstraintValidator
  5. Other projects
Title Object type File name Summary
EntityTypeConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php
EntityTypeConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php
EntityTypeConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php Tests validation constraints for EntityTypeConstraintValidator.
EntityTypeConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php
EntityTypeConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php Modules to enable.
EntityTypeConstraintValidatorTest::$typedData property core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php The typed data manager to use.
EntityTypeConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php
EntityTypeConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php Tests the EntityTypeConstraintValidator.
EntityUntranslatableFieldsConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php Validates the EntityChanged constraint.
EntityUntranslatableFieldsConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php
EntityUntranslatableFieldsConstraintValidator::$entityTypeManager property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php The entity type manager.
EntityUntranslatableFieldsConstraintValidator::create function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php Instantiates a new instance of this class.
EntityUntranslatableFieldsConstraintValidator::hasUntranslatableFieldsChanges function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php Checks whether an entity has untranslatable field changes.
EntityUntranslatableFieldsConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php
EntityUntranslatableFieldsConstraintValidator::__construct function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php Constructs an EntityUntranslatableFieldsConstraintValidator object.
EntityWorkspaceConflictConstraintValidator class core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php Validates the EntityWorkspaceConflict constraint.
EntityWorkspaceConflictConstraintValidator.php file core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php
EntityWorkspaceConflictConstraintValidator::$entityTypeManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php The entity type manager.
EntityWorkspaceConflictConstraintValidator::$workspaceAssociation property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php The workspace association service.
EntityWorkspaceConflictConstraintValidator::$workspaceManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php The workspace manager service.
EntityWorkspaceConflictConstraintValidator::$workspaceRepository property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php The workspace repository service.
EntityWorkspaceConflictConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php Instantiates a new instance of this class.
EntityWorkspaceConflictConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php
EntityWorkspaceConflictConstraintValidator::__construct function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php Constructs an EntityUntranslatableFieldsConstraintValidator object.
FieldWidgetConstraintValidator class core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/FieldWidgetConstraintValidator.php Validates the FieldWidgetConstraint constraint.
FieldWidgetConstraintValidator.php file core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/FieldWidgetConstraintValidator.php
FieldWidgetConstraintValidator::validate function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/FieldWidgetConstraintValidator.php
FieldWidgetConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Tests validation constraints for FieldWidgetConstraintValidatorTest.
FieldWidgetConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php
FieldWidgetConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Modules to enable.
FieldWidgetConstraintValidatorTest::getErrorsForEntity function core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Gets the form errors for a given entity.
FieldWidgetConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php
FieldWidgetConstraintValidatorTest::testEntityLevelConstraintValidation function core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Tests entity level constraint validation.
FieldWidgetConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Tests widget constraint validation.
FieldWidgetConstraintValidatorTest::testValidationWithCompositeConstraint function core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Tests widget constraint validation with composite constraints.
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::validate function core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php
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
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
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 Proxy for the current user account.
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.

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