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
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.
DefaultSelection::validateConfigurationForm function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Form validation handler.
DefaultSelection::validateReferenceableEntities function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Validates which existing entities can be referenced.
DefaultSelection::validateReferenceableNewEntities function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Validates which newly created entities can be referenced.
DeletedWorkspaceConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php
Display::validateForm function core/modules/views_ui/src/Form/Ajax/Display.php Form validation handler.
DisplayExtenderPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/display_extender/DisplayExtenderPluginBase.php Validate the options form.
DisplayExtenderTest3::validate function core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest3.php Validate that the plugin is correct and can be saved.
DisplayExtenderTest::testDisplayExtendersValidate function core/modules/views/tests/src/Kernel/Plugin/DisplayExtenderTest.php Tests display extenders validation.
DisplayLink::validate function core/modules/views/src/Plugin/views/area/DisplayLink.php Validate that the plugin is correct and can be saved.
DisplayPluginBase::validate function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Validate that the plugin is correct and can be saved.
DisplayPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Validate the options form.
DisplayPluginInterface::validate function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Make sure the display and all associated handlers are valid.
DisplayPluginInterface::validateOptionsForm function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Validates the options form.
DisplayTest::validate function core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayTest.php Validate that the plugin is correct and can be saved.
DisplayTest::validateOptionsForm function core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayTest.php Validate the options form.
DraggableListBuilderTrait::validateForm function core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php Form validation handler.
DrupalKernel::invalidateContainer function core/lib/Drupal/Core/DrupalKernel.php Invalidate the service container for the next request.
DrupalKernel::validateHostname function core/lib/Drupal/Core/DrupalKernel.php Validates the hostname supplied from the HTTP request.
DrupalKernel::validateHostnameLength function core/lib/Drupal/Core/DrupalKernel.php Validates a hostname length.
DrupalKernelInterface::invalidateContainer function core/lib/Drupal/Core/DrupalKernelInterface.php Invalidate the service container for the next request.
EditorBase::validateConfigurationForm function core/modules/editor/src/Plugin/EditorBase.php Form validation handler.
editor_form_filter_admin_format_validate function core/modules/editor/editor.module Additional validate handler for filter_format_form().
ElementsFieldsetTest::validateForm function core/modules/system/tests/src/Kernel/Form/ElementsFieldsetTest.php Form validation handler.
Email::validateEmail function core/lib/Drupal/Core/Render/Element/Email.php Form element validation handler for #type 'email'.
EmailAction::validateConfigurationForm function core/lib/Drupal/Core/Action/Plugin/Action/EmailAction.php Form validation handler.
EmailConstraint::validatedBy function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EmailConstraint.php @todo Add method return type declaration.
EnabledConfigurablePluginsConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/EnabledConfigurablePluginsConstraintValidator.php
Entity::validateArgument function core/modules/views/src/Plugin/views/argument_validator/Entity.php Performs validation for a given argument.
Entity::validateEntity function core/modules/views/src/Plugin/views/argument_validator/Entity.php Validates an individual entity against class access settings.
EntityAutocomplete::validateEntityAutocomplete function core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php Form element validation handler for entity_autocomplete elements.
EntityAutocompleteElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Form validation handler.
EntityBase::getCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityBase.php Returns the cache tags that should be used to invalidate caches.
EntityBase::getListCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityBase.php The list cache tags to invalidate for this entity.
EntityBase::invalidateTagsOnDelete function core/lib/Drupal/Core/Entity/EntityBase.php Invalidates an entity's cache tags upon delete.
EntityBase::invalidateTagsOnSave function core/lib/Drupal/Core/Entity/EntityBase.php Invalidates an entity's cache tags upon save.
EntityBundleExistsConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php
EntityChangedConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraintValidator.php
EntityCondition::validate function core/modules/jsonapi/src/Query/EntityCondition.php Validates the filter has the required fields.
EntityContentBase::validateEntity function core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php Validates the entity.
EntityContextTypedDataTest::testValidateConfigEntityContext function core/tests/Drupal/KernelTests/Core/Plugin/EntityContextTypedDataTest.php Tests that entity contexts wrapping a config entity can be validated.

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