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
Serialized::validateOptionsForm function core/modules/views/src/Plugin/views/field/Serialized.php Validate the options form.
SettingsConfigValidationTest::testPreviewImagePathIsValidated function core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php Tests that the preview_image setting must be an existing image file.
SettingsForm::validateForm function core/modules/navigation/src/Form/SettingsForm.php Form validation handler.
SettingsForm::validateLogoPath function core/modules/navigation/src/Form/SettingsForm.php Helper function for the navigation settings form.
SettingsValidator::validate function core/modules/package_manager/src/Validator/SettingsValidator.php Checks that Drupal's settings are valid for Package Manager.
Shortcut::getCacheTagsToInvalidate function core/modules/shortcut/src/Entity/Shortcut.php Returns the cache tags that should be used to invalidate caches.
SimpletestTestRunResultsStorage::validateTestingResultsEnvironment function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Checks if the test run storage is valid.
SiteConfigureForm::validateForm function core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php Form validation handler.
SiteInformationForm::validateForm function core/modules/system/src/Form/SiteInformationForm.php Form validation handler.
SiteSettingsForm::validateForm function core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php Form validation handler.
SneakySuperset::validateConfigurationForm function core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_subset/src/Plugin/CKEditor5Plugin/SneakySuperset.php
SortPluginBase::sortValidate function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::validateExposeForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Validate the options form.
SortPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Simple validate handler.
SourceEditing::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/SourceEditing.php
SourceEditingPreventSelfXssConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php
SourceEditingRedundantTagsConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php
SqlBase::exposedFormValidate function core/modules/views/src/Plugin/views/pager/SqlBase.php
SqlBase::validateOptionsForm function core/modules/views/src/Plugin/views/pager/SqlBase.php Provide the default form for validating options.
StageBase::validateRequirements function core/modules/package_manager/src/StageBase.php Validates a set of package names.
StageBaseTest::providerValidateRequirements function core/modules/package_manager/tests/src/Unit/StageBaseTest.php Data provider for testValidateRequirements.
StageBaseTest::testValidateRequirements function core/modules/package_manager/tests/src/Unit/StageBaseTest.php @covers ::validateRequirements
StageNotInActiveValidator::validate function core/modules/package_manager/src/Validator/StageNotInActiveValidator.php Check if staging root is a subdirectory of active.
StorableConfigBase::validateValue function core/lib/Drupal/Core/Config/StorableConfigBase.php Validate the values are allowed data types.
StorageComparer::validateSiteUuid function core/lib/Drupal/Core/Config/StorageComparer.php Validates that the system.site::uuid in the source and target match.
StorageComparerInterface::validateSiteUuid function core/lib/Drupal/Core/Config/StorageComparerInterface.php Validates that the system.site::uuid in the source and target match.
StubTestTrait::validateStub function core/modules/migrate_drupal/src/Tests/StubTestTrait.php Perform validation on a stub entity.
Style::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Style.php
StylePluginBase::validate function core/modules/views/src/Plugin/views/style/StylePluginBase.php Validate that the plugin is correct and can be saved.
StylePluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/style/StylePluginBase.php Validate the options form.
StyleSensibleElementConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php
SupportedReleaseValidator::validate function core/modules/package_manager/src/Validator/SupportedReleaseValidator.php Checks that the packages are secure and supported.
SwitchShortcutSet::validateForm function core/modules/shortcut/src/Form/SwitchShortcutSet.php Form validation handler.
SymlinkValidator::validate function core/modules/package_manager/src/Validator/SymlinkValidator.php Flags errors if the project root or stage directory contain symbolic links.
SystemBrandingOffCanvasForm::validateConfigurationForm function core/modules/system/src/Form/SystemBrandingOffCanvasForm.php Form validation handler.
SystemConfigSubscriber::onConfigImporterValidateNotEmpty function core/modules/system/src/SystemConfigSubscriber.php Checks that the configuration synchronization is valid.
SystemConfigSubscriber::onConfigImporterValidateSiteUUID function core/modules/system/src/SystemConfigSubscriber.php Checks that the configuration synchronization is valid.
SystemMenuOffCanvasForm::validateConfigurationForm function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Form validation handler.
Table::validateTable function core/lib/Drupal/Core/Render/Element/Table.php #element_validate callback for #type 'table'.
Tasks::validateDatabaseSettings function core/lib/Drupal/Core/Database/Install/Tasks.php Validates driver specific configuration settings.
TaxonomyIndexTid::$validated_exposed_input property core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
TaxonomyIndexTid::validateExposed function core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php Validate the exposed handler form.
TaxonomyIndexTid::valueValidate function core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php Validate the options form.
TaxonomyTermHierarchyConstraintValidator::validate function core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php
TemporaryJsonapiFileFieldUploader::validate function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Validates the file.
TermForm::validateForm function core/modules/taxonomy/src/TermForm.php Button-level validation handlers are highly discouraged for entity forms,
as they will prevent entity validation from running. If the entity is going
to be saved during the form submission, this method should be manually
invoked from the button-level…
TermName::validateArgument function core/modules/taxonomy/src/Plugin/views/argument_validator/TermName.php Performs validation for a given argument.
TermSelection::validateReferenceableNewEntities function core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php Validates which newly created entities can be referenced.
TestClass::validateConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Form validation handler.
TestFieldConstraint::validatedBy function core/modules/field/tests/modules/field_test/src/Plugin/Validation/Constraint/TestFieldConstraint.php

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