Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 10.3.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
EntityValidationTrait.php file core/modules/jsonapi/src/Entity/EntityValidationTrait.php
EntityValidationTrait::validate function core/modules/jsonapi/src/Entity/EntityValidationTrait.php Verifies that an entity does not violate any validation constraints.
EntityWorkspaceConflictConstraintValidator class core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php Validates the EntityWorkspaceConflict constraint.
EntityWorkspaceConflictConstraintValidator.php file core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php
EntityWorkspaceConflictConstraintValidator::$entityTypeManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php The entity type manager.
EntityWorkspaceConflictConstraintValidator::$workspaceAssociation property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php The workspace association service.
EntityWorkspaceConflictConstraintValidator::$workspaceManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php The workspace manager service.
EntityWorkspaceConflictConstraintValidator::$workspaceRepository property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php The workspace repository service.
EntityWorkspaceConflictConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php Instantiates a new instance of this class.
EntityWorkspaceConflictConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php
EntityWorkspaceConflictConstraintValidator::__construct function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php Constructs an EntityUntranslatableFieldsConstraintValidator object.
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/TypedData/Validation/ExecutionContext.php Stores which class constraint has been validated for which object.
ExecutionContext::$validatedObjects property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php Stores which objects have been validated in which group.
ExecutionContext::$validator property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::getValidator function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::isConstraintValidated function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::isGroupValidated function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::markConstraintAsValidated function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::markGroupAsValidated function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::validate function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::validateValue function core/lib/Drupal/Core/TypedData/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.
ExternalFormUrlTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/ExternalFormUrlTest.php Form validation handler.
FeedParserTest::testInvalidFeed function core/modules/aggregator/tests/src/Functional/FeedParserTest.php Tests error handling when an invalid feed is added.
FeedValidationTest class core/modules/aggregator/tests/src/Kernel/FeedValidationTest.php Tests feed validation constraints.
FeedValidationTest.php file core/modules/aggregator/tests/src/Kernel/FeedValidationTest.php
FeedValidationTest::$modules property core/modules/aggregator/tests/src/Kernel/FeedValidationTest.php Modules to install.
FeedValidationTest::setUp function core/modules/aggregator/tests/src/Kernel/FeedValidationTest.php
FeedValidationTest::testValidation function core/modules/aggregator/tests/src/Kernel/FeedValidationTest.php Tests the feed validation constraints.
field.uninstall_validator service core/modules/field/field.services.yml Drupal\field\FieldUninstallValidator
FieldableEntityInterface::isValidationRequired function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Checks whether entity validation is required before saving the entity.
FieldableEntityInterface::setValidationRequired function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Sets whether entity validation is required before saving the entity.
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.
FieldDefinitionTest::testInvalidDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests invalid default value callbacks.
FieldFormValidationErrorsCommand class core/modules/quickedit/src/Ajax/FieldFormValidationErrorsCommand.php AJAX command to indicate a field form was attempted to be saved but failed
validation and pass the validation errors.
FieldFormValidationErrorsCommand.php file core/modules/quickedit/src/Ajax/FieldFormValidationErrorsCommand.php
FieldFormValidationErrorsCommand::__construct function core/modules/quickedit/src/Ajax/FieldFormValidationErrorsCommand.php Constructs a FieldFormValidationErrorsCommand object.
FieldItemList::defaultValuesFormValidate function core/lib/Drupal/Core/Field/FieldItemList.php Validates the submitted default value.
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().
FieldPluginBaseTest::$pathValidator property core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php The mocked path validator.
FieldStorageAddForm::validateAddExisting function core/modules/field_ui/src/Form/FieldStorageAddForm.php Validates the 're-use existing field' case.
FieldStorageAddForm::validateAddNew function core/modules/field_ui/src/Form/FieldStorageAddForm.php Validates the 'add new field' case.

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