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
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
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::validate function core/modules/views/src/Plugin/views/display/EntityReference.php Validate that the plugin is correct and can be saved.
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 phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
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.
EventSubscriber::onConfigImporterValidate function core/modules/config/tests/config_import_test/src/EventSubscriber.php Validates the configuration to be imported.
ExecutionContext::$validatedConstraints property core/lib/Drupal/Core/Validation/ExecutionContext.php Stores which class constraint has been validated for which object.
ExecutionContext::$validatedObjects property core/lib/Drupal/Core/Validation/ExecutionContext.php Stores which objects have been validated in which group.
ExecutionContext::isConstraintValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::isGroupValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::markConstraintAsValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::markGroupAsValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExposedFormPluginBase::exposedFormValidate function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php Validates the exposed form submission.
ExposedFormPluginInterface::exposedFormValidate function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php Validates the exposed form submission.
ExtensionExistsConstraintValidator::validate function core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php
ExternalFormUrlTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/ExternalFormUrlTest.php
ExtraFieldBlockCacheTagInvalidator::invalidateTags function core/modules/layout_builder/src/Cache/ExtraFieldBlockCacheTagInvalidator.php
FieldableEntityInterface::validate function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Validates the currently set values.
FieldConfigEditForm::validateForm function core/modules/field_ui/src/Form/FieldConfigEditForm.php Form validation handler.
FieldConfigValidationTest::testEntityReferenceSelectionHandlerIsValidated function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that entity reference selection handler plugin IDs are validated.
FieldConfigValidationTest::testFieldTypePluginIsValidated function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that the field type plugin's existence is validated.
FieldItemList::defaultValuesFormValidate function core/lib/Drupal/Core/Field/FieldItemList.php
FieldItemListInterface::defaultValuesFormValidate function core/lib/Drupal/Core/Field/FieldItemListInterface.php Validates the submitted default value.
FieldItemListTest::testDefaultValuesFormValidate function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::defaultValuesFormValidate
FieldKernelTestBase::entityValidateAndSave function core/modules/field/tests/src/Kernel/FieldKernelTestBase.php Validate and save entity. Fail if violations are found.
FieldLayoutEntityDisplayFormTrait::validateForm function core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php Overrides \Drupal\field_ui\Form\EntityDisplayFormBase::validateForm().
FieldStorageAddForm::validateFieldType function core/modules/field_ui/src/Form/FieldStorageAddForm.php Validates the second step (field storage selection and label) of the form.
FieldStorageAddForm::validateGroupOrField function core/modules/field_ui/src/Form/FieldStorageAddForm.php Validates the first step of the form.
FieldStorageConfigEditForm::validateCardinality function core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php Validates the cardinality.
FieldStorageConfigValidationTest::testFieldTypePluginIsValidated function core/modules/field/tests/src/Kernel/Entity/FieldStorageConfigValidationTest.php Tests that the field type plugin's existence is validated.

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