Search for validate

  1. Search 7.x for validate
  2. Search 9.5.x for validate
  3. Search 10.3.x for validate
  4. Search 11.x for validate
  5. Other projects
Title Object type File name Summary
FileFieldValidateTest::testAssertFileExistsDeprecation function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests deprecation of the assertFileExists and assertFileNotExists methods.
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.
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.
FileSelection::validateReferenceableNewEntities function core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php Validates which newly created entities can be referenced.
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::validate function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Validates the file.
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
FileWidget::validateMultipleCount function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form element validation callback for upload element on file widget. Checks
if user has uploaded more files than allowed.
file_test_file_validate function core/modules/file/tests/file_test/file_test.module Implements hook_file_validate().
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.
file_validate_image_resolution function core/modules/file/file.module Verifies that image dimensions are within the specified maximum and minimum.
file_validate_is_image function core/modules/file/file.module Checks that the file is recognized as a valid image.
file_validate_name_length function core/modules/file/file.module Checks for files with names longer than can be stored in the database.
file_validate_size function core/modules/file/file.module Checks that the file's size is below certain limits.
FilterFormatFormBase::validateForm function core/modules/filter/src/FilterFormatFormBase.php Form validation handler.
FilterPluginBase::buildGroupValidate function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Validate the build group options form.
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.
FilterPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Simple validate handler
FilterPluginBase::valueValidate function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Validate the options form.
FilterUninstallValidator::validate function core/modules/filter/src/ProxyClass/FilterUninstallValidator.php Determines the reasons a module can not be uninstalled.
FilterUninstallValidator::validate function core/modules/filter/src/FilterUninstallValidator.php Determines the reasons a module can not be uninstalled.
FilterUninstallValidatorTest::testValidateNoFormats function core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php @covers ::validate
FilterUninstallValidatorTest::testValidateNoMatchingFormats function core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php @covers ::validate
FilterUninstallValidatorTest::testValidateNoPlugins function core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php @covers ::validate
FormActionXssTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/FormActionXssTest.php Form validation handler.
FormBase::validateForm function core/lib/Drupal/Core/Form/FormBase.php Form validation handler.
FormBuilder::executeValidateHandlers function core/lib/Drupal/Core/Form/FormBuilder.php Executes custom validation handlers for a given form.
FormBuilder::validateForm function core/lib/Drupal/Core/Form/FormBuilder.php Validates user-submitted form data in the $form_state.
FormController::validateForm function core/modules/system/tests/modules/condition_test/src/FormController.php Implements \Drupal\Core\Form\FormInterface::validateForm().
FormDefaultHandlersTest::customValidateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormDefaultHandlersTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Form validation handler.
FormElement::validatePattern function core/lib/Drupal/Core/Render/Element/FormElement.php #element_validate callback for #pattern form element property.
FormElementMaxlengthTest::validateForm function core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php Form validation handler.
FormInterface::validateForm function core/lib/Drupal/Core/Form/FormInterface.php Form validation handler.

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