Search for validate

  1. Search 7.x for validate
  2. Search 8.9.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
HelpTopicsSyntaxTest::validateHtml function core/modules/help_topics/tests/src/Functional/HelpTopicsSyntaxTest.php Validates the HTML and header hierarchy for topic text.
hook_file_validate function core/modules/file/file.api.php Check that files meet a given criteria.
hook_views_invalidate_cache function core/modules/views/views.api.php Allow modules to respond to the invalidation of the Views cache.
HTMLRestrictions::validateAllowedRestrictionsPhase1 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 1: shape of keys.
HTMLRestrictions::validateAllowedRestrictionsPhase2 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 2: shape of values.
HTMLRestrictions::validateAllowedRestrictionsPhase3 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 3: HTML tag attribute restriction keys.
HTMLRestrictions::validateAllowedRestrictionsPhase4 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 4: HTML tag attr restriction values.
HTMLRestrictions::validateAllowedRestrictionsPhase5 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 5: disallowed attribute overrides.
Image::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Image.php
ImageEffectFormBase::validateForm function core/modules/image/src/Form/ImageEffectFormBase.php Form validation handler.
ImageFieldValidateTest class core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php Tests validation functions such as min/max resolution.
ImageFieldValidateTest class core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Tests validation functions such as min/max resolution.
ImageFieldValidateTest.php file core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php
ImageFieldValidateTest.php file core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
ImageFieldValidateTest::$defaultTheme property core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php The theme to install as the default for testing.
ImageFieldValidateTest::$defaultTheme property core/modules/image/tests/src/Functional/ImageFieldValidateTest.php The theme to install as the default for testing.
ImageFieldValidateTest::getFieldSettings function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Returns field settings.
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 resolution 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 resolution 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.
ImportForm::validateForm function core/modules/locale/src/Form/ImportForm.php Form validation handler.
ImportOpmlTest::validateImportFormFields function core/modules/aggregator/tests/src/Functional/ImportOpmlTest.php Submits form filled with invalid fields.
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
InstallCommand::validateProfile function core/lib/Drupal/Core/Command/InstallCommand.php Validates a user provided install profile.
IsNullConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraintValidator.php
Item::getCacheTagsToInvalidate function core/modules/aggregator/src/Entity/Item.php Returns the cache tags that should be used to invalidate caches.
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.
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.

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