Search for valid

  1. Search 7.x for valid
  2. Search 8.9.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
ValidateTest::testInsecureExtensions function core/modules/file/tests/src/Kernel/ValidateTest.php Tests hard-coded security check in file_validate().
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 enable.
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.
ValidationTest::testPatternValidation function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests #pattern validation.
ValidationTest::testValidate function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests #element_validate and #validate.
ValidationTest::testValidateLimitErrors function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests partial form validation through #limit_validation_errors.
ValidatorsTest class core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php @covers \Drupal\ckeditor5\Plugin\Validation\Constraint\ToolbarItemConstraintValidator
@covers \Drupal\ckeditor5\Plugin\Validation\Constraint\ToolbarItemDependencyConstraintValidator
@covers…
ValidatorsTest.php file core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php
ValidatorsTest::$modules property core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php Modules to enable.
ValidatorsTest::$typedConfig property core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php The typed config manager.
ValidatorsTest::provider function core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php Provides a list of Text Editor config entities using CKEditor 5 to test.
ValidatorsTest::providerPair function core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php Provides a list of Text Editor + Text Format pairs to test.
ValidatorsTest::setUp function core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php
ValidatorsTest::test function core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php @covers \Drupal\ckeditor5\Plugin\Validation\Constraint\ToolbarItemConstraintValidator
@covers \Drupal\ckeditor5\Plugin\Validation\Constraint\ToolbarItemDependencyConstraintValidator
@covers…
ValidatorsTest::testPair function core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php @covers \Drupal\ckeditor5\Plugin\Editor\CKEditor5::validatePair()
@covers \Drupal\ckeditor5\Plugin\Validation\Constraint\FundamentalCompatibilityConstraintValidator
@covers…
ValidatorTest class core/modules/file/tests/src/Kernel/ValidatorTest.php Tests the functions used to validate uploaded files.
ValidatorTest.php file core/modules/file/tests/src/Kernel/ValidatorTest.php
ValidatorTest::$image property core/modules/file/tests/src/Kernel/ValidatorTest.php An image file.
ValidatorTest::$nonImage property core/modules/file/tests/src/Kernel/ValidatorTest.php A file which is not an image.
ValidatorTest::providerTestFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/ValidatorTest.php Data provider for ::testFileValidateExtensionsOnUri.
ValidatorTest::setUp function core/modules/file/tests/src/Kernel/ValidatorTest.php
ValidatorTest::testFileValidateExtensions function core/modules/file/tests/src/Kernel/ValidatorTest.php Tests the file_validate_extensions() function.
ValidatorTest::testFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/ValidatorTest.php Tests the file_validate_extensions() function.
ValidatorTest::testFileValidateImageResolution function core/modules/file/tests/src/Kernel/ValidatorTest.php This ensures the resolution of a specific file is within bounds.
ValidatorTest::testFileValidateIsImage function core/modules/file/tests/src/Kernel/ValidatorTest.php This ensures a specific file is actually an image.
ValidatorTest::testFileValidateNameLength function core/modules/file/tests/src/Kernel/ValidatorTest.php This will ensure the filename length is valid.
ValidatorTest::testFileValidateSize function core/modules/file/tests/src/Kernel/ValidatorTest.php Tests file_validate_size().
ValidConsumer class core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumer::addHandler function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumer::addNoPriority function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumer::addWithId function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumerWithExtraArguments class core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumerWithExtraArguments::addHandler function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumerWithExtraArguments::addNoPriority function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumerWithExtraArguments::addWithDifferentOrder function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumerWithExtraArguments::addWithId function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidHandler class core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidPathConstraint class core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php Validation constraint for valid system paths.
ValidPathConstraint.php file core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php
ValidPathConstraint::$message property core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php The default violation message.
ValidPathConstraintValidator class core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php Constraint validator for validating system paths.

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