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 10.3.x for validate
  5. Other projects
Title Object type File name Summary
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.
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.
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
FixtureManipulator::validateComposer function core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php Validate the fixtures still passes `composer 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.
FormElementBase::validatePattern function core/lib/Drupal/Core/Render/Element/FormElementBase.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.