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
FileValidationException class core/modules/file/src/Upload/FileValidationException.php Provides an exception for upload validation errors.
FileValidationException.php file core/modules/file/src/Upload/FileValidationException.php
FileValidationException::$errors property core/modules/file/src/Upload/FileValidationException.php The validation errors.
FileValidationException::$fileName property core/modules/file/src/Upload/FileValidationException.php The file name.
FileValidationException::getErrors function core/modules/file/src/Upload/FileValidationException.php Gets the errors.
FileValidationException::getFilename function core/modules/file/src/Upload/FileValidationException.php Gets the file name.
FileValidationException::__construct function core/modules/file/src/Upload/FileValidationException.php Constructs a new FileValidationException.
FileValidationTestSubscriber class core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileValidationTestSubscriber.php Provides a validation listener for file validation tests.
FileValidationTestSubscriber.php file core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileValidationTestSubscriber.php
FileValidationTestSubscriber::getSubscribedEvents function core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileValidationTestSubscriber.php
FileValidationTestSubscriber::onFileValidation function core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileValidationTestSubscriber.php Handles the file validation event.
FileValidator class core/modules/file/src/Validation/FileValidator.php Provides a class for file validation.
FileValidator.php file core/modules/file/src/Validation/FileValidator.php
FileValidator::validate function core/modules/file/src/Validation/FileValidator.php
FileValidator::__construct function core/modules/file/src/Validation/FileValidator.php Creates a new FileValidator.
FileValidatorInterface interface core/modules/file/src/Validation/FileValidatorInterface.php Provides a file validator that supports a list of validations.
FileValidatorInterface.php file core/modules/file/src/Validation/FileValidatorInterface.php
FileValidatorInterface::validate function core/modules/file/src/Validation/FileValidatorInterface.php Validates a File with a list of validators.
FileValidatorSettingsTrait trait core/modules/file/src/Validation/FileValidatorSettingsTrait.php Provides a trait to create validators from settings.
FileValidatorSettingsTrait.php file core/modules/file/src/Validation/FileValidatorSettingsTrait.php
FileValidatorSettingsTrait::getFileUploadValidators function core/modules/file/src/Validation/FileValidatorSettingsTrait.php Gets the upload validators for the specified settings.
FileValidatorTest class core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php Tests the file validator.
FileValidatorTest.php file core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php
FileValidatorTest::$modules property core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php Modules to install.
FileValidatorTest::testValidate function core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php Tests the validator.
FileValidatorTestBase class core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php Provides a base file constraint validator test.
FileValidatorTestBase.php file core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php
FileValidatorTestBase::$file property core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php The file.
FileValidatorTestBase::$modules property core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php Modules to install.
FileValidatorTestBase::$validator property core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php The file validator.
FileValidatorTestBase::setUp function core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php
FileWidget::validateMultipleCount function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Validates the number of uploaded files.
file_test_validator function core/modules/file/tests/file_test/file_test.module Helper validator that returns the $errors parameter.
file_validation_sanitization_subscriber service core/modules/file/tests/modules/file_validator_test/file_validator_test.services.yml Drupal\file_validator_test\EventSubscriber\FileSanitizationEventSubscriber
file_validation_test_subscriber service core/modules/file/tests/modules/file_validator_test/file_validator_test.services.yml Drupal\file_validator_test\EventSubscriber\FileValidationTestSubscriber
file_validator_test.info.yml file core/modules/file/tests/modules/file_validator_test/file_validator_test.info.yml core/modules/file/tests/modules/file_validator_test/file_validator_test.info.yml
file_validator_test.services.yml file core/modules/file/tests/modules/file_validator_test/file_validator_test.services.yml core/modules/file/tests/modules/file_validator_test/file_validator_test.services.yml
filter.uninstall_validator service core/modules/filter/filter.services.yml Drupal\filter\FilterUninstallValidator
FilterDateTest::_testUiValidation function core/modules/views/tests/src/Functional/Handler/FilterDateTest.php Make sure the validation callbacks works.
FilterFormatFormBase::validateForm function core/modules/filter/src/FilterFormatFormBase.php Form validation handler.
FilterFormatValidationTest class core/modules/filter/tests/src/Kernel/FilterFormatValidationTest.php Tests validation of filter_format entities.
FilterFormatValidationTest.php file core/modules/filter/tests/src/Kernel/FilterFormatValidationTest.php
FilterFormatValidationTest::$modules property core/modules/filter/tests/src/Kernel/FilterFormatValidationTest.php Modules to install.
FilterFormatValidationTest::setUp function core/modules/filter/tests/src/Kernel/FilterFormatValidationTest.php
FilterPluginBase::buildGroupValidate function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Validate the build group options form.
FilterPluginBase::hasValidGroupedValue function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Determines if the given grouped filter entry has a valid value.
FilterPluginBase::operatorValidate function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Validate the operator form.
FilterPluginBase::validate function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Validate that the plugin is correct and can be saved.
FilterPluginBase::validateExposeForm function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Validate the options form.
FilterPluginBase::validateIdentifier function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Validates a filter identifier.

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