Search for validate

  1. Search 7.x for validate
  2. Search 9.5.x for validate
  3. Search 8.9.x for validate
  4. Search 11.x for validate
  5. Other projects
Title Object type File name Summary
FieldUninstallValidator::validate function core/modules/field/src/ProxyClass/FieldUninstallValidator.php Determines the reasons a module can not be uninstalled.
FieldUninstallValidator::validate function core/modules/field/src/FieldUninstallValidator.php Determines the reasons a module can not be uninstalled.
FieldUninstallValidator::validateConfigImport function core/modules/field/src/FieldUninstallValidator.php Determines reasons a module can not be uninstalled prior to config import.
FieldUninstallValidatorTest::testValidateDeleted function core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php @covers ::validate
FieldUninstallValidatorTest::testValidateNoDeleted function core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php @covers ::validate
FieldUninstallValidatorTest::testValidateNoStorages function core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php @covers ::validate
FieldWidgetConstraintValidator::validate function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/FieldWidgetConstraintValidator.php
File::invalidateTagsOnSave function core/modules/file/src/Entity/File.php Invalidates an entity's cache tags upon save.
FileExtensionConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraintValidator.php
FileExtensionConstraintValidatorTest::providerTestFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionConstraintValidatorTest.php Data provider for ::testFileExtensionOnUri.
FileExtensionSecureConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.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.
FileImageDimensionsConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.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::validate function core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php
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.
FileNameLengthConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php
FileNameLengthConstraintValidatorTest::testFileValidateNameLength function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php This will ensure the filename length is valid.
FileSelection::validateReferenceableNewEntities function core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php Validates which newly created entities can be referenced.
FileSizeLimitConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php
FileSizeLimitConstraintValidatorTest::testFileValidateSize function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileSizeLimitConstraintValidatorTest.php @covers ::validate
FileTestForm::validateForm function core/modules/file/tests/file_test/src/Form/FileTestForm.php Form validation handler.
FileTestSaveUploadFromForm::validateForm function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Form validation handler.
FileTransferAuthorizeForm::validateForm function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Form validation handler.
FileUpload::validateAndLoadFieldDefinition function core/modules/jsonapi/src/Controller/FileUpload.php Validates and loads a field definition instance.
FileUploadForm::validateUploadElement function core/modules/media_library/src/Form/FileUploadForm.php Validates the upload element.
FileUploadResource::validateAndLoadFieldDefinition function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Validates and loads a field definition instance.
FileUploadResource::validateAndParseContentDispositionHeader function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Validates and extracts the filename from the Content-Disposition header.
FileUriUnique::validatedBy function core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php
FileValidationConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php
FileValidator::validate function core/modules/file/src/Validation/FileValidator.php
FileValidatorInterface::validate function core/modules/file/src/Validation/FileValidatorInterface.php Validates a File with a list of validators.
FileValidatorTest::testValidate function core/modules/file/tests/src/Kernel/Validation/FileValidatorTest.php Tests the validator.
FileWidget::validateMultipleCount function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Validates the number of uploaded files.
file_validate function core/modules/file/file.module Checks that a file meets the criteria specified by the validators.
file_validate_extensions function core/modules/file/file.module Checks that the filename ends with an allowed extension.

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