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
FileExtensionSecureConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php Validator for the FileExtensionSecureConstraint.
FileExtensionSecureConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php
FileExtensionSecureConstraintValidator::create function core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php Instantiates a new instance of this class.
FileExtensionSecureConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php
FileExtensionSecureConstraintValidator::__construct function core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php Creates a new FileExtensionSecureConstraintValidator.
FileExtensionSecureConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidatorTest.php Tests the FileExtensionSecureConstraintValidator.
FileExtensionSecureConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidatorTest.php
FileExtensionSecureConstraintValidatorTest::testValidate function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidatorTest.php @covers ::validate
FileFieldValidateTest class core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Tests file field validation functions.
FileFieldValidateTest class core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests file field validation functions.
FileFieldValidateTest.php file core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php
FileFieldValidateTest.php file core/modules/file/tests/src/Functional/FileFieldValidateTest.php
FileFieldValidateTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php The theme to install as the default for testing.
FileFieldValidateTest::$defaultTheme property core/modules/file/tests/src/Functional/FileFieldValidateTest.php The theme to install as the default for testing.
FileFieldValidateTest::$modules property core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Modules to install.
FileFieldValidateTest::testAjaxValidationMessage function core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Tests the validation message is displayed only once for ajax uploads.
FileFieldValidateTest::testFileExtension function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests file extension checking.
FileFieldValidateTest::testFileMaxSize function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests the max file size validator.
FileFieldValidateTest::testFileRemoval function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Checks that a file can always be removed if it does not pass validation.
FileFieldValidateTest::testRequired function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests the required property on file fields.
FileFieldWidgetTest::testMaximumUploadFileSizeValidation function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests maximum upload file size validation.
FileFieldWidgetTest::testWidgetValidation function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests validation with the Upload button.
FileImageDimensionsConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php Validator for the FileImageDimensionsConstraint.
FileImageDimensionsConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php
FileImageDimensionsConstraintValidator::create function core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php Instantiates a new instance of this class.
FileImageDimensionsConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php
FileImageDimensionsConstraintValidator::__construct function core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php Creates a new FileImageDimensionsConstraintValidator.
FileImageDimensionsConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php Tests the FileImageDimensionsConstraintValidator.
FileImageDimensionsConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php
FileImageDimensionsConstraintValidatorTest::$image property core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php An image file.
FileImageDimensionsConstraintValidatorTest::$nonImage property core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php A file which is not an image.
FileImageDimensionsConstraintValidatorTest::setUp function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php
FileImageDimensionsConstraintValidatorTest::testFileValidateImageResolution function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidatorTest.php This ensures the dimensions of a specific file is within bounds.
FileIsImageConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php Validator for the FileIsImageConstraint.
FileIsImageConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php
FileIsImageConstraintValidator::create function core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php Instantiates a new instance of this class.
FileIsImageConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php
FileIsImageConstraintValidator::__construct function core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php Creates a new FileIsImageConstraintValidator.
FileIsImageConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php Tests the FileIsImageConstraintValidator.
FileIsImageConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php
FileIsImageConstraintValidatorTest::$image property core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php An image file.
FileIsImageConstraintValidatorTest::$nonImage property core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php A file which is not an image.
FileIsImageConstraintValidatorTest::setUp function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php
FileIsImageConstraintValidatorTest::testFileIsImage function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php This ensures a specific file is actually an image.
FileItem::getUploadValidators function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Retrieves the upload validators for a file field.
FileItem::validateDirectory function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileItem::validateExtensions function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileItem::validateMaxFilesize function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileItemValidationTest class core/modules/file/tests/src/Kernel/FileItemValidationTest.php Tests that files referenced in file and image fields are always validated.
FileItemValidationTest.php file core/modules/file/tests/src/Kernel/FileItemValidationTest.php

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