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
EntityReferenceItem::fieldSettingsFormValidate function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Form element validation handler; Invokes selection plugin's validation.
EntityReferenceItemTest::testAutocreateValidation function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests ValidReferenceConstraint with newly created and unsaved entities.
EntityReferenceSelectionUnitTest::testInvalidDefaultConfiguration function core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php Tests invalid default configuration.
EntityReferenceSupportedNewEntitiesConstraintValidator class core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Checks if new entities created for entity reference fields are supported.
EntityReferenceSupportedNewEntitiesConstraintValidator.php file core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
EntityReferenceSupportedNewEntitiesConstraintValidator::$entityTypeManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php The entity type manager.
EntityReferenceSupportedNewEntitiesConstraintValidator::$workspaceManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php The workspace manager.
EntityReferenceSupportedNewEntitiesConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Instantiates a new instance of this class.
EntityReferenceSupportedNewEntitiesConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
EntityReferenceSupportedNewEntitiesConstraintValidator::__construct function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Creates a new EntityReferenceSupportedNewEntitiesConstraintValidator instance.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest class core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @coversDefaultClass \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraintValidator
@group workspaces
EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php file core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$modules property core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php Modules to enable.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::setUp function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesAllowedInDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @covers ::validate
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesForbiddenInNonDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @covers ::validate
EntityResourceTestBase::makeNormalizationInvalid function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Makes the given entity normalization invalid.
EntityResourceValidationTrait trait core/modules/rest/src/Plugin/rest/resource/EntityResourceValidationTrait.php @internal
@todo Consider making public in https://www.drupal.org/node/2300677
EntityResourceValidationTrait.php file core/modules/rest/src/Plugin/rest/resource/EntityResourceValidationTrait.php
EntityResourceValidationTrait::validate function core/modules/rest/src/Plugin/rest/resource/EntityResourceValidationTrait.php Verifies that an entity does not violate any validation constraints.
EntityResourceValidationTraitTest class core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @group rest
@coversDefaultClass \Drupal\rest\Plugin\rest\resource\EntityResourceValidationTrait
EntityResourceValidationTraitTest.php file core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php
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
EntityResourceValidationTraitTestClass class core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php A test class to use to test EntityResourceValidationTrait.
EntityRevisionParamConverterTest::testConvertWithInvalidDynamicEntityType function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests the convert() method with an invalid dynamic entity type ID.
EntityRevisionParamConverterTest::testConvertWithInvalidEntityType function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests the convert() method with an invalid entity type ID.
EntityRevisionParamConverterTest::testConvertWithInvalidType function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests the convert() method with an invalid dynamic entity type ID.
EntitySerializationTest::testDenormalizeInvalidCustomSerializedField function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing invalid custom serialized fields.
EntitySerializationTest::testDenormalizeValidCustomSerializedField function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing valid custom serialized fields.
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 enable.
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 Test validation with an invalid state.
EntityStateChangeValidationTest::testInvalidStateMultilingual function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Test state transition validation with multiple languages.
EntityStateChangeValidationTest::testInvalidStateWithoutExisting function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Test validation with content that has no initial state or an invalid state.
EntityStateChangeValidationTest::testInvalidTransition function core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php Test 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 Test 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.

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