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
EntityNormalizerTest::testDenormalizeWithInvalidBundle function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize method with a bundle property.
EntityNormalizerTest::testDenormalizeWithValidBundle function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize method with a bundle property.
EntityQueryRelationshipTest::testInvalidSpecifier function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php Tests the invalid specifier in the query relationship.
EntityReference::$validatedExposedInput property core/modules/views/src/Plugin/views/filter/EntityReference.php Validated exposed input that will be set as the input value.
EntityReference::validate function core/modules/views/src/Plugin/views/filter/EntityReference.php Validate that the plugin is correct and can be saved.
EntityReference::validate function core/modules/views/src/Plugin/views/display/EntityReference.php Validate that the plugin is correct and can be saved.
EntityReference::validateExposed function core/modules/views/src/Plugin/views/filter/EntityReference.php Validate the exposed handler form.
EntityReference::validateExtraOptionsForm function core/modules/views/src/Plugin/views/filter/EntityReference.php Validate the options form.
EntityReference::validateRequired function core/modules/views/src/Plugin/views/filter/EntityReference.php Validates that a required field for a sub handler has a value.
EntityReferenceFieldTest::testEntityReferenceFieldValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests reference field validation.
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.
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::$workspaceInfo property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php The workspace information service.
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::$entityTypeManager property core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php The entity type manager.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$modules property core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php Modules to install.
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 install.
EntityStateChangeValidationTest::$usesSuperUserAccessPolicy property core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php @todo Remove and fix test to not rely on super user.
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.

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