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
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::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
EntityWorkspaceConflictConstraintValidatorTest class core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php @coversDefaultClass \Drupal\workspaces\Plugin\Validation\Constraint\EntityWorkspaceConflictConstraintValidator
@group workspaces
EntityWorkspaceConflictConstraintValidatorTest.php file core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php
EntityWorkspaceConflictConstraintValidatorTest::$entityTypeManager property core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php The entity type manager.
EntityWorkspaceConflictConstraintValidatorTest::$modules property core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php Modules to install.
EntityWorkspaceConflictConstraintValidatorTest::reloadEntity function core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php Reloads the given entity from the storage and returns it.
EntityWorkspaceConflictConstraintValidatorTest::setUp function core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php
EntityWorkspaceConflictConstraintValidatorTest::testNewEntitiesAllowedInDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php @covers ::validate
ExtensionExistsConstraintValidator class core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php Validates that a given extension exists.
ExtensionExistsConstraintValidator.php file core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php
ExtensionExistsConstraintValidator::$moduleHandler property core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php The module handler service.
ExtensionExistsConstraintValidator::$themeHandler property core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php The theme handler service.
ExtensionExistsConstraintValidator::create function core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php Instantiates a new instance of this class.
ExtensionExistsConstraintValidator::validate function core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php
ExtensionExistsConstraintValidator::__construct function core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php Constructs a ExtensionExistsConstraintValidator object.
ExtensionExistsConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php Tests the ExtensionExists constraint validator.
ExtensionExistsConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php
ExtensionExistsConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php Modules to install.
ExtensionExistsConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php Tests the ExtensionExists constraint validator.
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 install.
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.
FileEncodingConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraintValidator.php Validates the file encoding constraint.
FileEncodingConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraintValidator.php
FileEncodingConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraintValidator.php
FileEncodingConstraintValidator::validateEncoding function core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraintValidator.php Validates the encoding of the file.
FileEncodingConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileEncodingConstraintValidatorTest.php Tests the FileEncodingConstraintValidator.
FileEncodingConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileEncodingConstraintValidatorTest.php

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