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
ContentEntityBase::validate function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBaseUnitTest::testValidate function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::validate
ContentEntityConfirmFormBase::validateForm function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.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…
ContentEntityForm::validateForm function core/lib/Drupal/Core/Entity/ContentEntityForm.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…
ContentEntityFormInterface::validateForm function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Note that extending classes should not override this method to add entity
validation logic, but define further validation constraints using the
entity validation API and/or provide a new validation constraint if
necessary. This is the only way to…
ContentTranslationHandler::entityFormValidate function core/modules/content_translation/src/ContentTranslationHandler.php Form validation handler for ContentTranslationHandler::entityFormAlter().
ContentTranslationSynchronizedFieldsConstraintValidator::validate function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php
ContentUninstallValidator::validate function core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php Determines the reasons a module can not be uninstalled.
ContentUninstallValidator::validate function core/lib/Drupal/Core/Entity/ContentUninstallValidator.php Determines the reasons a module can not be uninstalled.
content_translation_form_language_content_settings_validate function core/modules/content_translation/content_translation.admin.inc Form validation handler for content_translation_admin_settings_form().
content_translation_language_configuration_element_validate function core/modules/content_translation/content_translation.module Form validation handler for element added with content_translation_language_configuration_element_process().
Context::validate function core/lib/Drupal/Core/Plugin/Context/Context.php Validates the set context value.
Context::validate function core/lib/Drupal/Component/Plugin/Context/Context.php Validates the set context value.
ContextAwarePluginBase::validateContexts function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Validates the set values for the defined contexts.
ContextAwarePluginInterface::validateContexts function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Validates the set values for the defined contexts.
ContextInterface::validate function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Validates the set context value.
ContextualValidatorInterface::validate function core/lib/Drupal/Core/TypedData/Validation/ContextualValidatorInterface.php Validates a value against a constraint or a list of constraints.
Convert::validateArguments function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Convert.php Validates the arguments.
CountConstraint::validatedBy function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php
CreateNew::validateArguments function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/CreateNew.php Validates the arguments.
CredentialForm::validateForm function core/modules/migrate_drupal_ui/src/Form/CredentialForm.php Form validation handler.
CredentialForm::validatePaths function core/modules/migrate_drupal_ui/src/Form/CredentialForm.php The #element_validate handler for the source path elements.
Crop::validateArguments function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Crop.php Validates the arguments.
CsrfTokenGenerator::validate function core/lib/Drupal/Core/Access/CsrfTokenGenerator.php Validates a token based on $value, the user session, and the private key.
CsrfTokenGeneratorTest::providerTestValidateParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Provides data for testValidateParameterTypes.
CsrfTokenGeneratorTest::testValidate function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::validate().
CsrfTokenGeneratorTest::testValidateParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::validate() with different parameter types.
DatabaseBackend::invalidate function core/lib/Drupal/Core/Cache/DatabaseBackend.php Marks a cache item as invalid.
DatabaseBackend::invalidateAll function core/lib/Drupal/Core/Cache/DatabaseBackend.php Marks all cache items as invalid.
DatabaseBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/DatabaseBackend.php Marks cache items as invalid.
DatabaseCacheTagsChecksum::doInvalidateTags function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Marks cache items with any of the specified tags as invalid.
DataFieldRow::validateAliasName function core/modules/rest/src/Plugin/views/row/DataFieldRow.php Form element validation handler for \Drupal\rest\Plugin\views\row\DataFieldRow::buildOptionsForm().
DataFieldRow::validateOptionsForm function core/modules/rest/src/Plugin/views/row/DataFieldRow.php Validate the options form.
Date::validateExposed function core/modules/views/src/Plugin/views/filter/Date.php Validate the exposed handler form
Date::validateOptionsForm function core/modules/views/src/Plugin/views/filter/Date.php Simple validate handler
Date::validateValidTime function core/modules/views/src/Plugin/views/filter/Date.php Validate that the time values convert to something usable.
DateFormat::getCacheTagsToInvalidate function core/lib/Drupal/Core/Datetime/Entity/DateFormat.php Returns the cache tags that should be used to invalidate caches.
DateFormatFormBase::validateForm function core/modules/system/src/Form/DateFormatFormBase.php Form validation handler.
Datelist::validateDatelist function core/lib/Drupal/Core/Datetime/Element/Datelist.php Validation callback for a datelist element.
DateRangeFieldItemList::defaultValuesFormValidate function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeFieldItemList.php Validates the submitted default value.
DateRangeWidgetBase::validateStartEnd function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php #element_validate callback to ensure that the start date <= the end date.
Datetime::validateDatetime function core/lib/Drupal/Core/Datetime/Element/Datetime.php Validation callback for a datetime element.
DatetimeElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Form validation handler.
DateTimeFieldItemList::defaultValuesFormValidate function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Validates the submitted default value.
DateTimeFormatConstraintValidator::validate function core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php
DateTimeFormInjectionTest::validateForm function core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Form validation handler.
DateTimePlusTest::testValidateFormat function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests the $settings['validate_format'] parameter in ::createFromFormat().
DblogFilterForm::validateForm function core/modules/dblog/src/Form/DblogFilterForm.php Form validation handler.
DbLogFormInjectionTest::validateForm function core/modules/dblog/tests/src/Kernel/DbLogFormInjectionTest.php Form validation handler.
DefaultSelection::elementValidateFilter function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Form element validation handler; Filters the #value property of an element.

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