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
LinkAccessConstraintValidatorTest.php file core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php
LinkAccessConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Data provider for LinkAccessConstraintValidator::validate().
LinkAccessConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Tests the access validation constraint for links.
LinkExternalProtocolsConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php Validates the LinkExternalProtocols constraint.
LinkExternalProtocolsConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php
LinkExternalProtocolsConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php
LinkExternalProtocolsConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkExternalProtocolsConstraintValidator
@group Link
LinkExternalProtocolsConstraintValidatorTest.php file core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php
LinkExternalProtocolsConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php Data provider for ::testValidate.
LinkExternalProtocolsConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
@dataProvider providerValidate
@runInSeparateProcess
LinkExternalProtocolsConstraintValidatorTest::testValidateIgnoresInternalUrls function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkExternalProtocolsConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php Validates the LinkNotExistingInternal constraint.
LinkNotExistingInternalConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php
LinkNotExistingInternalConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php
LinkNotExistingInternalConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraintValidator
@group Link
LinkNotExistingInternalConstraintValidatorTest.php file core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php
LinkNotExistingInternalConstraintValidatorTest::testValidateFromNonExistingRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::validate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php Validate the link.
LinkTypeConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php Constraint validator for links receiving data allowed by its settings.
LinkTypeConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php
LinkTypeConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php
MediaMappingsConstraintValidator class core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraintValidator.php Validates media mappings.
MediaMappingsConstraintValidator.php file core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraintValidator.php
MediaMappingsConstraintValidator::validate function core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraintValidator.php
MediaMappingsConstraintValidatorTest class core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php @coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\MediaMappingsConstraintValidator
MediaMappingsConstraintValidatorTest.php file core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php
MediaMappingsConstraintValidatorTest::$modules property core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php Modules to install.
MediaMappingsConstraintValidatorTest::setUp function core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php
MediaMappingsConstraintValidatorTest::testMediaMappingSource function core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php @covers ::validate
MediaTestConstraintValidator class core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php Validates the MediaTestConstraint.
MediaTestConstraintValidator.php file core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php
MediaTestConstraintValidator::validate function core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php
MenuSettingsConstraintValidator class core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraintValidator.php Constraint validator for changing the menu settings in pending revisions.
MenuSettingsConstraintValidator.php file core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraintValidator.php
MenuSettingsConstraintValidator::validate function core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraintValidator.php
MenuTreeHierarchyConstraintValidator class core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Constraint validator for changing menu link parents in pending revisions.
MenuTreeHierarchyConstraintValidator.php file core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php
MenuTreeHierarchyConstraintValidator::$entityTypeManager property core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php The entity type manager.
MenuTreeHierarchyConstraintValidator::create function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Instantiates a new instance of this class.
MenuTreeHierarchyConstraintValidator::validate function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php
MenuTreeHierarchyConstraintValidator::__construct function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Creates a new MenuTreeHierarchyConstraintValidator instance.
ModerationStateConstraintValidator class core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php Checks if a moderation state transition is valid.
ModerationStateConstraintValidator.php file core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php
ModerationStateConstraintValidator::$currentUser property core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php The current user.
ModerationStateConstraintValidator::$entityTypeManager property core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php The entity type manager.
ModerationStateConstraintValidator::$moderationInformation property core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php The moderation info.

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