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
ImageFieldValidateTest::providerTestEmpty function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Data provider for ::testEmpty()
ImageFieldValidateTest::testAJAXValidationMessage function core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php Tests the validation message is displayed only once for ajax uploads.
ImageFieldValidateTest::testEmpty function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests creating an entity while leaving the image field empty.
ImageFieldValidateTest::testFriendlyAjaxValidation function core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php Tests that image field validation works with other form submit handlers.
ImageFieldValidateTest::testRequiredAttributes function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests that required alt/title fields gets validated right.
ImageFieldValidateTest::testResolution function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests min/max dimensions settings.
ImageFieldValidateTest::testValid function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests image validity.
ImageItem::validateDefaultImageForm function core/modules/image/src/Plugin/Field/FieldType/ImageItem.php Validates the managed_file element for the default Image form.
ImageItem::validateResolution function core/modules/image/src/Plugin/Field/FieldType/ImageItem.php Element validate function for dimensions fields.
ImageResize::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ImageResize.php
ImageStyleEditForm::effectValidate function core/modules/image/src/Form/ImageStyleEditForm.php Validate handler for image effect.
ImageToolkitBase::validateConfigurationForm function core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php Form validation handler.
ImageToolkitForm::validateForm function core/modules/system/src/Form/ImageToolkitForm.php Form validation handler.
ImageToolkitOperationBase::validateArguments function core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php Validates the arguments.
ImageWidget::validateRequiredFields function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Validate callback for alt and title field, if the user wants them required.
ImmutablePropertiesConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php
ImmutablePropertiesConstraintValidatorTest::testValidatedEntityMustHaveAnId function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that entities without an ID will raise an exception.
ImportForm::validateForm function core/modules/locale/src/Form/ImportForm.php Form validation handler.
InlineBlock::blockValidate function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
InOperator::validate function core/modules/views/src/Plugin/views/filter/InOperator.php Validate that the plugin is correct and can be saved.
InOperatorTest::testValidate function core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php @covers ::validate
InOperatorTest::validate_options_callback function core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php
InputStreamUploadedFile::validate function core/modules/file/src/Upload/InputStreamUploadedFile.php Validates the uploaded file information.
InputTest::testInputIsValidated function core/tests/Drupal/KernelTests/Core/Recipe/InputTest.php
InstallCommand::validateProfile function core/lib/Drupal/Core/Command/InstallCommand.php Validates a user provided install profile.
InstallCommand::validateRecipe function core/lib/Drupal/Core/Command/InstallCommand.php Validates a user provided recipe.
InstallProfileUninstallValidator::validate function core/lib/Drupal/Core/ProxyClass/Extension/InstallProfileUninstallValidator.php Determines the reasons a module can not be uninstalled.
InstallProfileUninstallValidator::validate function core/lib/Drupal/Core/Extension/InstallProfileUninstallValidator.php Determines the reasons a module can not be uninstalled.
IsNullConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraintValidator.php
JsonApiDocumentTopLevelNormalizer::validateRequestBody function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Performs minimal validation of the document.
JsonApiRequestValidator::validateQueryParams function core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php Validates custom (implementation-specific) query parameter names.
LangcodeRequiredIfTranslatableValuesConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php
Language::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Language.php
LanguageAddForm::validateCustom function core/modules/language/src/Form/LanguageAddForm.php Validates the language addition form on custom language button.
LanguageAddForm::validatePredefined function core/modules/language/src/Form/LanguageAddForm.php Element specific validator for the Add language button.
LanguageFormBase::validateCommon function core/modules/language/src/Form/LanguageFormBase.php Validates the language editing element.
LanguageListBuilder::validateForm function core/modules/language/src/LanguageListBuilder.php Form validation handler.
LayoutDefault::validateConfigurationForm function core/lib/Drupal/Core/Layout/LayoutDefault.php Form validation handler.
LayoutTestPlugin::validateConfigurationForm function core/modules/system/tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php Form validation handler.
LegacyValidateTest class core/modules/file/tests/src/Kernel/LegacyValidateTest.php Tests the file_validate() function.
LegacyValidateTest.php file core/modules/file/tests/src/Kernel/LegacyValidateTest.php
LegacyValidateTest::testCallerValidation function core/modules/file/tests/src/Kernel/LegacyValidateTest.php Tests that the validators passed into are checked.
LegacyValidateTest::testInsecureExtensions function core/modules/file/tests/src/Kernel/LegacyValidateTest.php Tests hard-coded security check in file_validate().
LegacyValidatorTest::providerTestFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Data provider for ::testFileValidateExtensionsOnUri.
LegacyValidatorTest::testFileValidateExtensions function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests the file_validate_extensions() function.
LegacyValidatorTest::testFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests the file_validate_extensions() function.
LegacyValidatorTest::testFileValidateImageResolution function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php This ensures the dimensions of a specific file is within bounds.
LegacyValidatorTest::testFileValidateIsImage function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php This ensures a specific file is actually an image.
LegacyValidatorTest::testFileValidateNameLength function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php This will ensure the filename length is valid.
LegacyValidatorTest::testFileValidateSize function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests file_validate_size().

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