Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 10.3.x for valid
  5. Other projects
Title Object type File name Summary
EntityValidationException::getViolations function core/modules/migrate/src/Exception/EntityValidationException.php Returns the list of violations generated during the entity validation.
EntityValidationException::MESSAGES_SEPARATOR constant core/modules/migrate/src/Exception/EntityValidationException.php The separator for combining multiple messages into a single string.
EntityValidationException::__construct function core/modules/migrate/src/Exception/EntityValidationException.php EntityValidationException constructor.
EntityValidationTest class core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Tests the Entity Validation API.
EntityValidationTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php
EntityValidationTest::$cachedDiscoveries property core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php
EntityValidationTest::$entityFieldText property core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php
EntityValidationTest::$entityName property core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php
EntityValidationTest::$entityUser property core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php
EntityValidationTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Modules to install.
EntityValidationTest::checkValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Executes the validation test set for a defined entity type.
EntityValidationTest::createTestEntity function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Creates a test entity.
EntityValidationTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php
EntityValidationTest::testCompositeConstraintValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Tests composite constraints.
EntityValidationTest::testEntityChangedConstraintOnConcurrentMultilingualEditing function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Tests the EntityChangedConstraintValidator with multiple translations.
EntityValidationTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Tests validating test entity types.
EntityValidationTrait trait core/modules/jsonapi/src/Entity/EntityValidationTrait.php Provides a method to validate an entity.
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.
EntityViewDisplayValidationTest class core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php Tests validation of entity_view_display entities.
EntityViewDisplayValidationTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php
EntityViewDisplayValidationTest::$hasLabel property core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php Whether a config entity of this type has a label.
EntityViewDisplayValidationTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php Modules to install.
EntityViewDisplayValidationTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php
EntityViewDisplayValidationTest::testImmutableProperties function core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php Tests that immutable properties cannot be changed.
EntityViewDisplayValidationTest::testLayoutSectionPluginIdIsValidated function core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php Tests that the plugin ID of a Layout Builder section is validated.
EntityViewDisplayValidationTest::testTargetBundleMustExist function core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php Tests that the target bundle of the entity view display is checked.
EntityViewModeValidationTest class core/tests/Drupal/KernelTests/Core/Entity/EntityViewModeValidationTest.php Tests validation of entity_view_mode entities.
EntityViewModeValidationTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityViewModeValidationTest.php
EntityViewModeValidationTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityViewModeValidationTest.php Modules to install.
EntityViewModeValidationTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityViewModeValidationTest.php
EntityViewModeValidationTest::testImmutableProperties function core/tests/Drupal/KernelTests/Core/Entity/EntityViewModeValidationTest.php Tests that immutable properties cannot be changed.
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::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
EntityWorkspaceConflictConstraintValidatorTest class core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php @coversDefaultClass \Drupal\workspaces\Plugin\Validation\Constraint\EntityWorkspaceConflictConstraintValidator
@group workspaces
EntityWorkspaceConflictConstraintValidatorTest.php file core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php
EntityWorkspaceConflictConstraintValidatorTest::$entityTypeManager property core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php The entity type manager.
EntityWorkspaceConflictConstraintValidatorTest::$modules property core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php Modules to install.
EntityWorkspaceConflictConstraintValidatorTest::reloadEntity function core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php Reloads the given entity from the storage and returns it.
EntityWorkspaceConflictConstraintValidatorTest::setUp function core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php
EntityWorkspaceConflictConstraintValidatorTest::testNewEntitiesAllowedInDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php @covers ::validate
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 class core/modules/package_manager/src/Validator/EnvironmentSupportValidator.php Checks that the environment has support for Package Manager.
EnvironmentSupportValidator.php file core/modules/package_manager/src/Validator/EnvironmentSupportValidator.php
EnvironmentSupportValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/EnvironmentSupportValidator.php
EnvironmentSupportValidator::validate function core/modules/package_manager/src/Validator/EnvironmentSupportValidator.php Checks that this environment supports Package Manager.

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