Search for ConstraintValidator

  1. Search 7.x for ConstraintValidator
  2. Search 8.9.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
EntityReferenceSupportedNewEntitiesConstraintValidator class core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Checks if new entities created for entity reference fields are supported.
EntityReferenceSupportedNewEntitiesConstraintValidator.php file core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
EntityReferenceSupportedNewEntitiesConstraintValidator::$entityTypeManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php The entity type manager.
EntityReferenceSupportedNewEntitiesConstraintValidator::$workspaceManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php The workspace manager.
EntityReferenceSupportedNewEntitiesConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Instantiates a new instance of this class.
EntityReferenceSupportedNewEntitiesConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
EntityReferenceSupportedNewEntitiesConstraintValidator::__construct function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Creates a new EntityReferenceSupportedNewEntitiesConstraintValidator instance.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest class core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @coversDefaultClass \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraintValidator
@group workspaces
EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php file core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$entityTypeManager property core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php The entity type manager.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$modules property core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php Modules to enable.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::setUp function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesAllowedInDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @covers ::validate
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesForbiddenInNonDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @covers ::validate
EntityTestCompositeConstraintValidator class core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestCompositeConstraintValidator.php Constraint validator for the EntityTestComposite constraint.
EntityTestCompositeConstraintValidator.php file core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestCompositeConstraintValidator.php
EntityTestCompositeConstraintValidator::$context property core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestCompositeConstraintValidator.php Validator 2.5 and upwards compatible execution context.
EntityTestCompositeConstraintValidator::validate function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestCompositeConstraintValidator.php
EntityTypeConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php Validates the EntityType constraint.
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.

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