Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 10.3.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
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::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.
UserEntityTest::testUserValidation function core/modules/user/tests/src/Kernel/UserEntityTest.php Tests that all user fields validate properly.
UserLoginForm::validateAuthentication function core/modules/user/src/Form/UserLoginForm.php Checks supplied username/password against local users table.
UserLoginForm::validateFinal function core/modules/user/src/Form/UserLoginForm.php Checks if user was not authenticated, or if too many logins were attempted.
UserLoginForm::validateName function core/modules/user/src/Form/UserLoginForm.php Sets an error if supplied username has been blocked.
UserMailRequiredValidator class core/modules/user/src/Plugin/Validation/Constraint/UserMailRequiredValidator.php Checks if the user's email address is provided if required.
UserMailRequiredValidator.php file core/modules/user/src/Plugin/Validation/Constraint/UserMailRequiredValidator.php
UserMailRequiredValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/UserMailRequiredValidator.php
UserMailRequiredValidatorTest class core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php @coversDefaultClass \Drupal\user\Plugin\Validation\Constraint\UserMailRequiredValidator
@group user
UserMailRequiredValidatorTest.php file core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php
UserMailRequiredValidatorTest::createValidator function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php Creates a validator instance.
UserMailRequiredValidatorTest::providerTestValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php Data provider for ::testValidate().
UserMailRequiredValidatorTest::testValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php @covers ::validate
UserName::validateArgument function core/modules/user/src/Plugin/views/argument_validator/UserName.php Performs validation for a given argument.
UserNameConstraintValidator class core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php Validates the UserName constraint.
UserNameConstraintValidator.php file core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php
UserNameConstraintValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php
UserPasswordForm::validateForm function core/modules/user/src/Form/UserPasswordForm.php Form validation handler.
UserPasswordResetTest::assertNoValidPasswordReset function core/modules/user/tests/src/Functional/UserPasswordResetTest.php Helper function to make assertions about an invalid password reset.
UserPasswordResetTest::assertValidPasswordReset function core/modules/user/tests/src/Functional/UserPasswordResetTest.php Helper function to make assertions about a valid password reset.
UserSelection::validateReferenceableNewEntities function core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php Validates which newly created entities can be referenced.
UserTest::makeNormalizationInvalid function core/modules/jsonapi/tests/src/Functional/UserTest.php Makes the given JSON:API document invalid.
UserValidationTest class core/modules/user/tests/src/Kernel/UserValidationTest.php Verify that user validity checks behave as designed.
UserValidationTest.php file core/modules/user/tests/src/Kernel/UserValidationTest.php
UserValidationTest::$modules property core/modules/user/tests/src/Kernel/UserValidationTest.php Modules to enable.
UserValidationTest::assertAllowedValuesViolation function core/modules/user/tests/src/Kernel/UserValidationTest.php Verifies that a AllowedValues violation exists for the given field.
UserValidationTest::assertLengthViolation function core/modules/user/tests/src/Kernel/UserValidationTest.php Verifies that a length violation exists for the given field.
UserValidationTest::setUp function core/modules/user/tests/src/Kernel/UserValidationTest.php
UserValidationTest::testUsernames function core/modules/user/tests/src/Kernel/UserValidationTest.php Tests user name validation.
UserValidationTest::testValidation function core/modules/user/tests/src/Kernel/UserValidationTest.php Runs entity validation checks.
user_validate_name function core/modules/user/user.module Verify the syntax of the given name.
user_views_plugins_argument_validator_alter function core/modules/user/user.views.inc Implements hook_views_plugins_argument_validator_alter().
Uuid::isValid function core/lib/Drupal/Component/Uuid/Uuid.php Checks whether a string appears to be in the format of a UUID.
Uuid::VALID_PATTERN constant core/lib/Drupal/Component/Uuid/Uuid.php The pattern used to validate a UUID string.
UuidConstraint::validatedBy function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UuidConstraint.php
UuidTest::providerTestValidation function core/tests/Drupal/Tests/Component/Uuid/UuidTest.php Dataprovider for UUID instance tests.

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