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
EntityStateChangeValidationTest class core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php @coversDefaultClass \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraintValidator
@group content_moderation
EntityStateChangeValidationTest.php file core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php
EntityStateChangeValidationTest::$adminUser property core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php An admin user.
EntityStateChangeValidationTest::$modules property core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Modules to install.
EntityStateChangeValidationTest::setUp function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php
EntityStateChangeValidationTest::testExistingContentWithNoModeration function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests that content without prior moderation information can be moderated.
EntityStateChangeValidationTest::testExistingMultilingualContentWithNoModeration function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests that content without prior moderation information can be translated.
EntityStateChangeValidationTest::testInvalidState function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests validation with an invalid state.
EntityStateChangeValidationTest::testInvalidStateMultilingual function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests state transition validation with multiple languages.
EntityStateChangeValidationTest::testInvalidStateWithoutExisting function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests validation with no initial state or an invalid state.
EntityStateChangeValidationTest::testInvalidTransition function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests invalid transitions.
EntityStateChangeValidationTest::testTransitionAccessValidation function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php @dataProvider transitionAccessValidationTestCases
EntityStateChangeValidationTest::testValidTransition function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Tests valid transitions.
EntityStateChangeValidationTest::transitionAccessValidationTestCases function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Test cases for ::testTransitionAccessValidation.
EntityTest::$argumentValidator property core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php The tested argument validator.
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 class core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestCompositeConstraintValidator.php Constraint validator for the EntityTestComposite constraint.
EntityTestCompositeConstraintValidator.php file core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestCompositeConstraintValidator.php
EntityTestCompositeConstraintValidator::validate function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestCompositeConstraintValidator.php
EntityTestEntityLevelValidator class core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestEntityLevelValidator.php Constraint validator for the EntityTestEntityLevel constraint.
EntityTestEntityLevelValidator.php file core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestEntityLevelValidator.php
EntityTestEntityLevelValidator::validate function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestEntityLevelValidator.php
EntityTypeBundleInfoTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php The cache tags invalidator.
EntityTypeConstraintsTest::testConstraintValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php Tests entity constraints are validated.
EntityTypeConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php Validates the EntityType constraint.
EntityTypeConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php
EntityTypeConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php
EntityTypeConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php Tests validation constraints for EntityTypeConstraintValidator.
EntityTypeConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php
EntityTypeConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php Modules to install.
EntityTypeConstraintValidatorTest::$typedData property core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php The typed data manager to use.
EntityTypeConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php
EntityTypeConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php Tests the EntityTypeConstraintValidator.
EntityTypeInfo::$validator property core/modules/content_moderation/src/EntityTypeInfo.php The state transition validation service.
EntityTypeManagerTest::provideFormObjectInvalidOperationData function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides test data for testGetFormObjectInvalidOperation().
EntityTypeManagerTest::testGetDefinitionInvalidException function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the getDefinition() method with an invalid definition.
EntityTypeManagerTest::testGetFormObjectInvalidOperation function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the getFormObject() method with an invalid operation.
EntityTypeTest::testSetLinkTemplateWithInvalidPath function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::setLinkTemplate
EntityUnitTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The mocked cache tags invalidator.
EntityUntranslatableFieldsConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php Validates the EntityChanged constraint.
EntityUntranslatableFieldsConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php
EntityUntranslatableFieldsConstraintValidator::$entityTypeManager property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php The entity type manager.
EntityUntranslatableFieldsConstraintValidator::create function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php Instantiates a new instance of this class.
EntityUntranslatableFieldsConstraintValidator::hasUntranslatableFieldsChanges function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php Checks whether an entity has untranslatable field changes.
EntityUntranslatableFieldsConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php
EntityUntranslatableFieldsConstraintValidator::__construct function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php Constructs an EntityUntranslatableFieldsConstraintValidator object.
EntityValidationException class core/modules/migrate/src/Exception/EntityValidationException.php To throw when an entity generated during the import is not valid.

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