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
menu_ui_form_node_type_form_validate function core/modules/menu_ui/menu_ui.module Validate handler for forms with menu options.
MessageForm::validateForm function core/modules/contact/src/MessageForm.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…
MigrateValidatableEntityInterface::validateEntity function core/modules/migrate/src/Plugin/MigrateValidatableEntityInterface.php Validates the entity.
ModerationStateConstraintValidator::validate function core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php
ModerationStateWidget::validateElement function core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php Form validation handler for widget elements.
ModuleInstaller::validateUninstall function core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php Determines whether a list of modules can be uninstalled.
ModuleInstaller::validateUninstall function core/lib/Drupal/Core/Extension/ModuleInstaller.php Determines whether a list of modules can be uninstalled.
ModuleInstallerInterface::validateUninstall function core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php Determines whether a list of modules can be uninstalled.
ModuleRequiredByThemesUninstallValidator::validate function core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php Determines the reasons a module can not be uninstalled.
ModuleRequiredByThemesUninstallValidator::validate function core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php Determines the reasons a module can not be uninstalled.
ModuleRequiredByThemesUninstallValidator::validateConfigImport function core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php Determines reasons a module can not be uninstalled prior to config import.
ModuleRequiredByThemesUninstallValidator::validateConfigImport function core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php Determines reasons a module can not be uninstalled prior to config import.
ModuleRequiredByThemesUninstallValidatorTest::testValidateNoThemeDependency function core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @covers ::validate
ModuleRequiredByThemesUninstallValidatorTest::testValidateOneThemeDependency function core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @covers ::validate
ModuleRequiredByThemesUninstallValidatorTest::testValidateTwoThemeDependencies function core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @covers ::validate
ModulesUninstallForm::validateForm function core/modules/system/src/Form/ModulesUninstallForm.php Form validation handler.
ModuleUninstallValidatorInterface::validate function core/lib/Drupal/Core/Extension/ModuleUninstallValidatorInterface.php Determines the reasons a module can not be uninstalled.
Name::$validated_exposed_input property core/modules/user/src/Plugin/views/filter/Name.php The validated exposed input.
Name::validateExposed function core/modules/user/src/Plugin/views/filter/Name.php Validate the exposed handler form.
Name::valueValidate function core/modules/user/src/Plugin/views/filter/Name.php Validate the options form.
NegotiationBrowserForm::validateForm function core/modules/language/src/Form/NegotiationBrowserForm.php Form validation handler.
NegotiationUrlForm::validateForm function core/modules/language/src/Form/NegotiationUrlForm.php Form validation handler.
NestedEntityTestForm::validateForm function core/modules/field/tests/modules/field_test/src/Form/NestedEntityTestForm.php Form validation handler.
NodeSelection::validateReferenceableNewEntities function core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php Validates which newly created entities can be referenced.
NodeTypeForm::validateForm function core/modules/node/src/NodeTypeForm.php Form validation handler.
None::validateArgument function core/modules/views/src/Plugin/views/argument_validator/None.php Performs validation for a given argument.
NotNullConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/NotNullConstraintValidator.php
NullBackend::invalidate function core/lib/Drupal/Core/Cache/NullBackend.php Marks a cache item as invalid.
NullBackend::invalidateAll function core/lib/Drupal/Core/Cache/NullBackend.php Marks all cache items as invalid.
NullBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/NullBackend.php Marks cache items as invalid.
Number::validateNumber function core/lib/Drupal/Core/Render/Element/Number.php Form element validation handler for #type 'number'.
NumericArgumentValidator::validateArgument function core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php Performs validation for a given argument.
OEmbed::validateConfigurationForm function core/modules/media/src/Plugin/media/Source/OEmbed.php Form validation handler.
OEmbedForm::validateUrl function core/modules/media_library/src/Form/OEmbedForm.php Validates the oEmbed URL.
OEmbedResourceConstraintValidator::validate function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php
OEmbedResourceConstraintValidatorTest::testValidateEmptySource function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php @covers ::validate
OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php @covers ::validate
OpCodeCache::invalidate function core/lib/Drupal/Component/Utility/OpCodeCache.php Invalidates a PHP file from a possibly active opcode cache.
OpmlFeedAdd::validateForm function core/modules/aggregator/src/Form/OpmlFeedAdd.php Form validation handler.
OpmlFields::validate function core/modules/views/src/Plugin/views/row/OpmlFields.php Validate that the plugin is correct and can be saved.
OptionsWidgetBase::validateElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Form validation handler for widget elements.
Page::validate function core/modules/views/src/Plugin/views/display/Page.php Validate that the plugin is correct and can be saved.
Page::validateOptionsForm function core/modules/views/src/Plugin/views/display/Page.php Validate the options form.
PagerPluginBase::exposedFormValidate function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
PagerPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php Provide the default form for validating options.
PasswordConfirm::validatePasswordConfirm function core/lib/Drupal/Core/Render/Element/PasswordConfirm.php Validates a password_confirm element.
PathAlias::getCacheTagsToInvalidate function core/modules/path_alias/src/Entity/PathAlias.php Returns the cache tags that should be used to invalidate caches.
PathAliasConstraintValidator::validate function core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php
PathElement::validateMatchedPath function core/lib/Drupal/Core/Render/Element/PathElement.php Form element validation handler for matched_path elements.
PathElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Form validation handler.

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