Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 10.3.x for valid
  5. Other projects
Title Object type File name Summary
UniquePathAliasConstraintValidator class core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php Constraint validator for a unique path alias.
UniquePathAliasConstraintValidator.php file core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php
UniquePathAliasConstraintValidator::$entityTypeManager property core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php The entity type manager.
UniquePathAliasConstraintValidator::create function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php Instantiates a new instance of this class.
UniquePathAliasConstraintValidator::validate function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php
UniquePathAliasConstraintValidator::__construct function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php Creates a new UniquePathAliasConstraintValidator instance.
UniqueValuesConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php Tests the unique field value validation constraint.
UniqueValuesConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php
UniqueValuesConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php Modules to install.
UniqueValuesConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php Tests cases where the validation passes for entities with string IDs.
UniqueValuesConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php Tests the UniqueField validation constraint validator.
UniqueValuesConstraintValidatorTest::testValidationCaseInsensitive function core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php Tests the UniqueField validation constraint validator with regards to case-insensitivity.
UniqueValuesConstraintValidatorTest::testValidationMultiple function core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php Tests the UniqueField validation constraint validator for multiple violations.
UniqueValuesConstraintValidatorTest::testValidationOwn function core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php Tests the UniqueField validation constraint validator for existing value in the same entity.
UniqueValuesConstraintValidatorTest::testValidationReference function core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php Tests the UniqueField validation constraint validator for entity reference fields.
UnitTestCase::getContainerWithCacheTagsInvalidator function core/tests/Drupal/Tests/UnitTestCase.php Sets up a container with a cache tags invalidator.
UnroutedUrlTest::providerFromInvalidUri function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Data provider for testFromInvalidUri().
UnroutedUrlTest::testFromInvalidUri function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the fromUri() method.
UpdateManagerInstall::validateForm function core/modules/update/src/Form/UpdateManagerInstall.php Form validation handler.
UpdateManagerUpdate::validateForm function core/modules/update/src/Form/UpdateManagerUpdate.php Form validation handler.
update_test_invalid_hook.info.yml file core/modules/system/tests/modules/update_test_invalid_hook/update_test_invalid_hook.info.yml core/modules/system/tests/modules/update_test_invalid_hook/update_test_invalid_hook.info.yml
update_test_invalid_hook.install file core/modules/system/tests/modules/update_test_invalid_hook/update_test_invalid_hook.install
update_test_invalid_hook_update_8000 function core/modules/system/tests/modules/update_test_invalid_hook/update_test_invalid_hook.install Hook implementation using the reserved schema version 8000.
UploadedFileConstraintValidator class core/modules/file/src/Validation/Constraint/UploadedFileConstraintValidator.php Constraint validator for uploaded files.
UploadedFileConstraintValidator.php file core/modules/file/src/Validation/Constraint/UploadedFileConstraintValidator.php
UploadedFileConstraintValidator::validate function core/modules/file/src/Validation/Constraint/UploadedFileConstraintValidator.php
UploadedFileConstraintValidatorTest class core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php Tests the uploaded file validator.
UploadedFileConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php
UploadedFileConstraintValidatorTest::$filename property core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php The file name.
UploadedFileConstraintValidatorTest::$maxSize property core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php The max 4 MB filesize to use for testing.
UploadedFileConstraintValidatorTest::$modules property core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php Modules to install.
UploadedFileConstraintValidatorTest::$path property core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php The temporary file path.
UploadedFileConstraintValidatorTest::$validator property core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php A validator.
UploadedFileConstraintValidatorTest::setUp function core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php
UploadedFileConstraintValidatorTest::testValidateFail function core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php @covers ::validate
@dataProvider validateProvider
UploadedFileConstraintValidatorTest::testValidateSuccess function core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php @covers ::validate
UploadedFileConstraintValidatorTest::validateProvider function core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php Data provider for ::testValidateFail.
UploadedFileInterface::validate function core/modules/file/src/Upload/UploadedFileInterface.php Validates the uploaded file information.
UploadedFileValidator class core/modules/file/src/Validation/UploadedFileValidator.php Validator for uploaded files.
UploadedFileValidator.php file core/modules/file/src/Validation/UploadedFileValidator.php
UploadedFileValidator::$validator property core/modules/file/src/Validation/UploadedFileValidator.php The symfony validator.
UploadedFileValidator::getValidator function core/modules/file/src/Validation/UploadedFileValidator.php Get the Symfony validator instance.
UploadedFileValidator::validate function core/modules/file/src/Validation/UploadedFileValidator.php Validates an uploaded file.
UploadedFileValidator::__construct function core/modules/file/src/Validation/UploadedFileValidator.php Creates a new UploadedFileValidator.
UploadedFileValidatorInterface interface core/modules/file/src/Validation/UploadedFileValidatorInterface.php Validator for uploaded files.
UploadedFileValidatorInterface.php file core/modules/file/src/Validation/UploadedFileValidatorInterface.php
UploadedFileValidatorInterface::validate function core/modules/file/src/Validation/UploadedFileValidatorInterface.php Validates an uploaded file.
UploadedFileValidatorTest class core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php Tests the uploaded file validator.
UploadedFileValidatorTest.php file core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php
UploadedFileValidatorTest::$filename property core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php The file name.

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