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
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.
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.
LegacyValidateMigrationStateTest class core/modules/migrate_drupal/tests/src/Kernel/d6/LegacyValidateMigrationStateTest.php Extends Drupal\Tests\migrate_drupal\Kernel\d6\ValidateMigrationStateTest
to test with deprecated modules.
LegacyValidateMigrationStateTest class core/modules/migrate_drupal/tests/src/Kernel/d7/LegacyValidateMigrationStateTest.php Extends Drupal\Tests\migrate_drupal\Kernel\d7\ValidateMigrationStateTest
to test with deprecated modules.
LegacyValidateMigrationStateTest.php file core/modules/migrate_drupal/tests/src/Kernel/d6/LegacyValidateMigrationStateTest.php
LegacyValidateMigrationStateTest.php file core/modules/migrate_drupal/tests/src/Kernel/d7/LegacyValidateMigrationStateTest.php
LegacyValidateMigrationStateTest::$excludeDeprecated property core/modules/migrate_drupal/tests/src/Kernel/d6/LegacyValidateMigrationStateTest.php Flag to exclude deprecated modules from the tests.
LegacyValidateMigrationStateTest::$excludeDeprecated property core/modules/migrate_drupal/tests/src/Kernel/d7/LegacyValidateMigrationStateTest.php Flag to exclude deprecated modules from the tests.
LengthConstraint::validatedBy function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php
LibraryDiscoveryParser::validateCssLibrary function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Validates CSS library structure.
LinkAccessConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
LinkAccessConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Data provider for LinkAccessConstraintValidator::validate().
LinkAccessConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Tests the \Drupal\link\Plugin\Validation\Constraint\LinkAccessConstraintValidator::validate()
method.
LinkExternalProtocolsConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php
LinkExternalProtocolsConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php Data provider for ::testValidate
LinkExternalProtocolsConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
@dataProvider providerValidate
LinkExternalProtocolsConstraintValidatorTest::testValidateIgnoresInternalUrls function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkExternalProtocolsConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php
LinkNotExistingInternalConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php Data provider for ::testValidate
LinkNotExistingInternalConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
@dataProvider providerValidate
LinkNotExistingInternalConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkTypeConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php
LinkWidget::validateTitleElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'title' element.
LinkWidget::validateTitleNoLink function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'title' element.
LinkWidget::validateUriElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'uri' element.
ListFloatItem::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Checks whether a candidate allowed value is valid.
ListIntegerItem::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListIntegerItem.php Checks whether a candidate allowed value is valid.
ListItemBase::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Checks whether a candidate allowed value is valid.
ListItemBase::validateAllowedValues function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php #element_validate callback for options field allowed values.
ListStringItem::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListStringItem.php Checks whether a candidate allowed value is valid.
LocaleSettingsForm::validateForm function core/modules/locale/src/Form/LocaleSettingsForm.php Form validation handler.

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