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
SimpletestSettingsForm::validateForm function core/modules/simpletest/src/Form/SimpletestSettingsForm.php Form validation handler.
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.
SortPluginBase::sortValidate function core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Simple validate handler
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 form for validating options
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.
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.
StylesCombo::validateStylesValue function core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php #element_validate handler for the "styles" element in settingsForm().
SwitchShortcutSet::validateForm function core/modules/shortcut/src/Form/SwitchShortcutSet.php Form validation handler.
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.
TemporaryJsonapiFileFieldUploader::validateAndParseContentDispositionHeader function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Validates and extracts the filename from the Content-Disposition header.
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.
TestBaseTest::providerRandomStringValidate function core/modules/simpletest/tests/src/Unit/TestBaseTest.php Provides data for the random string validation test.
TestBaseTest::testRandomStringValidate function core/modules/simpletest/tests/src/Unit/TestBaseTest.php @covers ::randomStringValidate
@dataProvider providerRandomStringValidate
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
TestFieldWidgetMultiple::multipleValidate function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultiple.php Element validation helper.
TestForm::validateForm function core/modules/block/tests/modules/block_test/src/Form/TestForm.php Form validation handler.
TestForm::validateForm function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Form validation handler.
TestFormApiFormBlock::validateForm function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Form validation handler.
TestPluginForm::validateConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Form validation handler.
TestSelection::validateReferenceableEntities function core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php Validates which existing entities can be referenced.
TestSettingsValidationBlock::blockValidate function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestToolkit::validateConfigurationForm function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Form validation handler.
TestValidatedReferenceConstraint class core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraint.php Validates referenced entities.
TestValidatedReferenceConstraint.php file core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraint.php
TestValidatedReferenceConstraint::$message property core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraint.php The default violation message.
TestValidatedReferenceConstraintValidator class core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraintValidator.php Validates referenced entities.
TestValidatedReferenceConstraintValidator.php file core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraintValidator.php
TestValidatedReferenceConstraintValidator::validate function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraintValidator.php
TextFormatElementFormTest::validateForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Form validation handler.

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