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
MachineName::validateMachineName function core/lib/Drupal/Core/Render/Element/MachineName.php Form element validation handler for machine_name elements.
ManagedFile::validateManagedFile function core/modules/file/src/Element/ManagedFile.php Render API callback: Validates the managed_file element.
Media::validate function core/modules/media/src/Entity/Media.php
MediaEmbed::validateOptions function core/modules/media/src/Plugin/Filter/MediaEmbed.php Form element validation handler.
MediaLibraryInceptionWidget::elementValidate function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php
MediaLibrarySelectForm::viewsFormValidate function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
MediaLibraryState::validateRequiredParameters function core/modules/media_library/src/MediaLibraryState.php Validates the required parameters for a new MediaLibraryState object.
MediaLibraryWidget::validateItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates that newly selected items can be added to the widget.
MediaSelection::validateReferenceableNewEntities function core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php Validates which newly created entities can be referenced.
MediaSourceBase::validateConfigurationForm function core/modules/media/src/MediaSourceBase.php Form validation handler.
MediaTestConstraintValidator::validate function core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php
MediaTypeForm::validateForm function core/modules/media/src/MediaTypeForm.php Form validation handler.
media_filter_format_edit_form_validate function core/modules/media/media.module Validate callback to ensure filter order and allowed_html are compatible.
media_library_filter_format_edit_form_validate function core/modules/media_library/media_library.module Validate callback to ensure the DrupalMediaLibrary button can work correctly.
MemoryBackend::invalidate function core/lib/Drupal/Core/Cache/MemoryBackend.php Marks a cache item as invalid.
MemoryBackend::invalidateAll function core/lib/Drupal/Core/Cache/MemoryBackend.php Marks all cache items as invalid.
MemoryBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/MemoryBackend.php Marks cache items as invalid.
MemoryBackend::invalidateTags function core/lib/Drupal/Core/Cache/MemoryBackend.php Marks cache items with any of the specified tags as invalid.
MenuLinkDefaultForm::validateConfigurationForm function core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php Form validation handler.
MenuLinkEditForm::validateForm function core/modules/menu_ui/src/Form/MenuLinkEditForm.php Form validation handler.
MenuSettingsConstraintValidator::validate function core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraintValidator.php
MenuTreeHierarchyConstraintValidator::validate function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php
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.
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::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'.

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