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 10.3.x for validate
  5. Other projects
Title Object type File name Summary
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
EnabledConfigurablePluginsConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/EnabledConfigurablePluginsConstraintValidator.php
EnabledExtensionsValidator::validate function core/modules/package_manager/src/Validator/EnabledExtensionsValidator.php Validates that no enabled Drupal extensions have been removed.
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.
EntityDisplayModeAddForm::validateForm function core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php Form validation handler.
EntityDisplayTest::testEntityDisplayInvalidateCacheTags function core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php Ensure that entity view display changes invalidates cache tags.
EntityFormDisplay::validateFormValues function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Validates submitted widget values and sets the corresponding form errors.
EntityFormDisplayInterface::validateFormValues function core/lib/Drupal/Core/Entity/Display/EntityFormDisplayInterface.php Validates submitted widget values and sets the corresponding form errors.
EntityHasFieldConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php
EntityInterface::getCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityInterface.php Returns the cache tags that should be used to invalidate caches.
EntityReference::$validatedExposedInput property core/modules/views/src/Plugin/views/filter/EntityReference.php Validated exposed input that will be set as the input value.
EntityReference::validate function core/modules/views/src/Plugin/views/filter/EntityReference.php Validate that the plugin is correct and can be saved.
EntityReference::validate function core/modules/views/src/Plugin/views/display/EntityReference.php Validate that the plugin is correct and can be saved.
EntityReference::validateExposed function core/modules/views/src/Plugin/views/filter/EntityReference.php Validate the exposed handler form.
EntityReference::validateExtraOptionsForm function core/modules/views/src/Plugin/views/filter/EntityReference.php Validate the options form.
EntityReference::validateRequired function core/modules/views/src/Plugin/views/filter/EntityReference.php Validates that a required field for a sub handler has a value.
EntityReferenceItem::fieldSettingsFormValidate function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Form element validation handler; Invokes selection plugin's validation.
EntityReferenceSupportedNewEntitiesConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
EntityResourceValidationTrait::validate function core/modules/rest/src/Plugin/rest/resource/EntityResourceValidationTrait.php Verifies that an entity does not violate any validation constraints.
EntityResourceValidationTraitTest::testFailedValidate function core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @covers ::validate
EntityResourceValidationTraitTest::testValidate function core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @covers ::validate
EntityTest::testValidateArgumentAccess function core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php Tests the validate argument method with access and no bundles.
EntityTest::testValidateArgumentBundle function core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php Tests the validate argument method with bundle checking.
EntityTest::testValidateArgumentMultiple function core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php Tests the validate argument method with multiple argument splitting.
EntityTest::testValidateArgumentNoAccess function core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php Tests the validate argument method with no access and bundles.
EntityTestCompositeConstraintValidator::validate function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestCompositeConstraintValidator.php
EntityTestEntityLevelValidator::validate function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestEntityLevelValidator.php
EntityTypeConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php
EntityUntranslatableFieldsConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php
EntityValidationTrait::validate function core/modules/jsonapi/src/Entity/EntityValidationTrait.php Verifies that an entity does not violate any validation constraints.
EntityViewDisplayValidationTest::testLayoutSectionPluginIdIsValidated function core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php Tests that the plugin ID of a Layout Builder section is validated.
EntityWorkspaceConflictConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php
entity_test_form_entity_test_form_validate function core/modules/system/tests/modules/entity_test/entity_test.module Validation handler for the entity_test entity form.
entity_test_form_entity_test_form_validate_check function core/modules/system/tests/modules/entity_test/entity_test.module Validation handler for the entity_test entity form.
EnvironmentSupportValidator::validate function core/modules/package_manager/src/Validator/EnvironmentSupportValidator.php Checks that this environment supports Package Manager.
EventSubscriber::onConfigImporterValidate function core/modules/config/tests/config_import_test/src/EventSubscriber.php Validates the configuration to be imported.

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