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
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.
UriHostConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraintValidator.php Validates if a string conforms to the RFC 3986 host component.
UriHostConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraintValidator.php
UriHostConstraintValidator::isValid function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraintValidator.php Return TRUE if value is a valid hostname or IP address literal.
UriHostConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraintValidator.php
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.
UrlHelperTest::testInvalidRelative function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests invalid relative URLs.
UrlHelperTest::testUncompressInvalidString function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests passing an invalid string as a compressed query parameter.
UrlHelperTest::testValidAbsolute function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests valid absolute URLs.
UrlHelperTest::testValidRelative function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests valid relative URLs.
UrlTest::$pathValidator property core/tests/Drupal/Tests/Core/UrlTest.php The mocked path validator.
UrlTest::providerFromInvalidInternalUri function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testFromInvalidInternalUri().
UrlTest::providerFromValidInternalUri function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testFromValidInternalUri().
UrlTest::testFromInvalidInternalUri function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUri() method with an invalid internal: URI.
UrlTest::testFromInvalidUserInput function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUserInput method with invalid paths.
UrlTest::testFromRoutedPathWithInvalidRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests fromUri() method with a user-entered path not matching any route.
UrlTest::testFromRoutedPathWithValidRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests fromUri() method with user-entered path matching a valid route.
UrlTest::testFromValidInternalUri function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUri() method with a valid internal: URI.
UrlTest::testInvalidEntityUriParameter function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUri() method with an invalid entity: URI.
UrlTest::testUrlFromRequestInvalid function core/tests/Drupal/Tests/Core/UrlTest.php Tests that an invalid request will thrown an exception.
user.name_validator service core/modules/user/user.services.yml Drupal\user\UserNameValidator
User::validateEntity function core/modules/user/src/Plugin/views/argument_validator/User.php Validates an individual entity against class access settings.
UserActionConfigSchemaTest::testValidUserActionConfigSchema function core/modules/user/tests/src/Kernel/UserActionConfigSchemaTest.php Tests whether the user action config schema are valid.
UserCancelTest::testUserCancelInvalid function core/modules/user/tests/src/Functional/UserCancelTest.php Attempt invalid account cancellations.
UserConfigValidationTest class core/modules/user/tests/src/Kernel/UserConfigValidationTest.php Tests validating user modules' configuration.
UserConfigValidationTest.php file core/modules/user/tests/src/Kernel/UserConfigValidationTest.php
UserConfigValidationTest::$modules property core/modules/user/tests/src/Kernel/UserConfigValidationTest.php Modules to install.
UserConfigValidationTest::providerTestUserSettings function core/modules/user/tests/src/Kernel/UserConfigValidationTest.php Data provider for testUserSettings().
UserConfigValidationTest::setUp function core/modules/user/tests/src/Kernel/UserConfigValidationTest.php
UserConfigValidationTest::testUserSettings function core/modules/user/tests/src/Kernel/UserConfigValidationTest.php Tests invalid values in 'user.settings' config properties.
UserController::validatePathParameters function core/modules/user/src/Controller/UserController.php Validates hash and timestamp.

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