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 11.x for validate
  5. Other projects
Title Object type File name Summary
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.
ListPlugin::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ListPlugin.php
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.
MachineName::validateMachineName function core/lib/Drupal/Core/Render/Element/MachineName.php Form element validation handler for machine_name elements.
MachineNameTest::validateForm function core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php Form validation handler.
ManagedFile::validateManagedFile function core/modules/file/src/Element/ManagedFile.php Render API callback: Validates the managed_file element.
ManagedFileTest::validateForm function core/modules/file/tests/src/Kernel/ManagedFileTest.php Form validation handler.
Media::validate function core/modules/media/src/Entity/Media.php
Media::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/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.
MediaLibraryWidget::validateRequired function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates whether the widget is required and contains values.
MediaMappingsConstraintValidator::validate function core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraintValidator.php
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.
MediaTypeValidationTest::testMediaSourceIsValidated function core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php Tests that the media source plugin's existence is validated.
media_filter_format_edit_form_validate function core/modules/media/media.module Validate callback to ensure filter order and allowed_html are compatible.
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
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/Extension/ModuleInstaller.php
ModuleInstaller::validateUninstall function core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php
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/Extension/ModuleRequiredByThemesUninstallValidator.php Determines the reasons a module can not be uninstalled.
ModuleRequiredByThemesUninstallValidator::validate function core/lib/Drupal/Core/ProxyClass/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

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