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
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 install.
UserValidationTest::assertAllowedValuesViolation function core/modules/user/tests/src/Kernel/UserValidationTest.php Verifies that an 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 @todo Add method return type declaration.
UuidTest::providerTestValidation function core/tests/Drupal/Tests/Component/Uuid/UuidTest.php Data provider for UUID instance tests.
UuidTest::testValidation function core/tests/Drupal/Tests/Component/Uuid/UuidTest.php Tests UUID validation.
UuidValidatorTest class core/tests/Drupal/KernelTests/Core/Validation/UuidValidatorTest.php Tests the UUID validator.
UuidValidatorTest.php file core/tests/Drupal/KernelTests/Core/Validation/UuidValidatorTest.php
UuidValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Validation/UuidValidatorTest.php Modules to install.
UuidValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Validation/UuidValidatorTest.php
UuidValidatorTest::testUuid function core/tests/Drupal/KernelTests/Core/Validation/UuidValidatorTest.php
ValidateHostnameTest class core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php @coversDefaultClass \Drupal\Core\DrupalKernel
@group DrupalKernel
ValidateHostnameTest.php file core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php
ValidateHostnameTest::providerTestValidateHostname function core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php Provides test data for testValidateHostname().
ValidateHostnameTest::testValidateHostname function core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php @covers ::validateHostname
@dataProvider providerTestValidateHostname
ValidateMigrationStateTest class core/modules/migrate_drupal/tests/src/Kernel/d6/ValidateMigrationStateTest.php Tests the migration state information in module.migrate_drupal.yml.
ValidateMigrationStateTest class core/modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php Tests the migration state information in module.migrate_drupal.yml.
ValidateMigrationStateTest.php file core/modules/migrate_drupal/tests/src/Kernel/d6/ValidateMigrationStateTest.php
ValidateMigrationStateTest.php file core/modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php
ValidateMigrationStateTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/d6/ValidateMigrationStateTest.php Modules to install.
ValidateMigrationStateTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php Modules to install.
ValidateMigrationStateTestTrait trait core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php Tests the migration state information in module.migrate_drupal.yml.
ValidateMigrationStateTestTrait.php file core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php
ValidateMigrationStateTestTrait::enableAllModules function core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php Enable all available modules.
ValidateMigrationStateTestTrait::testMigrationState function core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php Tests the migration information in .migrate_drupal.yml.
validation.basic_recursive_validator_factory service core/core.services.yml Drupal\Core\Validation\BasicRecursiveValidatorFactory
validation.constraint service core/core.services.yml Drupal\Core\Validation\ConstraintManager
ValidationErrorBlock class core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php Provides a 'Block with validation error' test block.
ValidationErrorBlock.php file core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php
ValidationErrorBlock::build function core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php Builds and returns the renderable array for this block plugin.
ValidationErrorBlock::validateConfigurationForm function core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php Most block plugins should not override this method. To add validation
for a specific block type, override BlockBase::blockValidate().
ValidationTest class core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests form processing and alteration via form validation handlers.
ValidationTest.php file core/modules/system/tests/src/Functional/Form/ValidationTest.php
ValidationTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/ValidationTest.php The theme to install as the default for testing.
ValidationTest::$modules property core/modules/system/tests/src/Functional/Form/ValidationTest.php Modules to install.
ValidationTest::testCustomRequiredError function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests #required with custom validation errors.
ValidationTest::testDisabledToken function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests that a form with a disabled CSRF token can be validated.

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