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 11.x for valid
  5. Other projects
Title Object type File name Summary
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::isValid function core/modules/file/src/Upload/UploadedFileInterface.php Returns whether the file was uploaded successfully.
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.
UploadedFileValidatorTest::$maxSize property core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php The max 4 MB filesize to use for testing.
UploadedFileValidatorTest::$modules property core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php Modules to enable.
UploadedFileValidatorTest::$path property core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php The temporary file path.
UploadedFileValidatorTest::$validator property core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php The validator under test.
UploadedFileValidatorTest::setUp function core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php
UploadedFileValidatorTest::testValidateFail function core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php @covers ::validate
@dataProvider validateProvider
UploadedFileValidatorTest::testValidateSuccess function core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php @covers ::validate
UploadedFileValidatorTest::validateProvider function core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php Data provider for ::testValidateFail.
Url::validateUrl function core/lib/Drupal/Core/Render/Element/Url.php Form element validation handler for #type 'url'.
UrlConversionTest::providerInvalidArgumentGetConnectionInfoAsUrl function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Data provider for testGetInvalidArgumentGetConnectionInfoAsUrl().
UrlConversionTest::providerInvalidArgumentsUrlConversion function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Data provider for testGetInvalidArgumentExceptionInUrlConversion().
UrlConversionTest::testGetInvalidArgumentExceptionInUrlConversion function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Tests ::convertDbUrlToConnectionInfo() exception for invalid arguments.
UrlConversionTest::testGetInvalidArgumentGetConnectionInfoAsUrl function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Tests ::getConnectionInfoAsUrl() exception for invalid arguments.
UrlHelper::isValid function core/lib/Drupal/Component/Utility/UrlHelper.php Verifies the syntax of the given URL.
UrlHelperTest::providerTestExternalIsLocalInvalid function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides invalid argument data for local external URL detection.
UrlHelperTest::providerTestInvalidAbsolute function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data for testInvalidAbsolute().
UrlHelperTest::providerTestInvalidRelativeData function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data for testInvalidRelative().
UrlHelperTest::providerTestValidAbsoluteData function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Data provider for testValidAbsolute().
UrlHelperTest::providerTestValidRelativeData function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data for testValidRelative().
UrlHelperTest::testExternalIsLocalInvalid function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests invalid URL arguments.
UrlHelperTest::testInvalidAbsolute function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests invalid absolute URLs.

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