Search for valid
Title | Object type | File name | Summary |
---|---|---|---|
EntityModerationForm::$validation | property | core/ |
The moderation state transition validation service. |
EntityNormalizerTest::testDenormalizeWithInvalidBundle | function | core/ |
Tests the denormalize method with a bundle property. |
EntityNormalizerTest::testDenormalizeWithValidBundle | function | core/ |
Tests the denormalize method with a bundle property. |
EntityQueryRelationshipTest::testInvalidSpecifier | function | core/ |
Tests the invalid specifier in the query relationship. |
EntityReference::validate | function | core/ |
Validate that the plugin is correct and can be saved. |
EntityReferenceFieldTest::testEntityReferenceFieldValidation | function | core/ |
Tests reference field validation. |
EntityReferenceItem::fieldSettingsFormValidate | function | core/ |
Form element validation handler; Invokes selection plugin's validation. |
EntityReferenceItemTest::testAutocreateValidation | function | core/ |
Tests ValidReferenceConstraint with newly created and unsaved entities. |
EntityReferenceSupportedNewEntitiesConstraintValidator | class | core/ |
Checks if new entities created for entity reference fields are supported. |
EntityReferenceSupportedNewEntitiesConstraintValidator.php | file | core/ |
|
EntityReferenceSupportedNewEntitiesConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
EntityReferenceSupportedNewEntitiesConstraintValidator::$workspaceInfo | property | core/ |
The workspace information service. |
EntityReferenceSupportedNewEntitiesConstraintValidator::$workspaceManager | property | core/ |
The workspace manager. |
EntityReferenceSupportedNewEntitiesConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
EntityReferenceSupportedNewEntitiesConstraintValidator::validate | function | core/ |
|
EntityReferenceSupportedNewEntitiesConstraintValidator::__construct | function | core/ |
Creates a new EntityReferenceSupportedNewEntitiesConstraintValidator instance. |
EntityReferenceSupportedNewEntitiesConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraintValidator @group workspaces |
EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php | file | core/ |
|
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$entityTypeManager | property | core/ |
The entity type manager. |
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::setUp | function | core/ |
|
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesAllowedInDefaultWorkspace | function | core/ |
@covers ::validate |
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesForbiddenInNonDefaultWorkspace | function | core/ |
@covers ::validate |
EntityResourceTestBase::makeNormalizationInvalid | function | core/ |
Makes the given entity normalization invalid. |
EntityResourceValidationTrait | trait | core/ |
@internal @todo Consider making public in https://www.drupal.org/node/2300677 |
EntityResourceValidationTrait.php | file | core/ |
|
EntityResourceValidationTrait::validate | function | core/ |
Verifies that an entity does not violate any validation constraints. |
EntityResourceValidationTraitTest | class | core/ |
@group rest @coversDefaultClass \Drupal\rest\Plugin\rest\resource\EntityResourceValidationTrait |
EntityResourceValidationTraitTest.php | file | core/ |
|
EntityResourceValidationTraitTest::testFailedValidate | function | core/ |
@covers ::validate |
EntityResourceValidationTraitTest::testValidate | function | core/ |
@covers ::validate |
EntityResourceValidationTraitTestClass | class | core/ |
A test class to use to test EntityResourceValidationTrait. |
EntityRevisionParamConverterTest::testConvertWithInvalidDynamicEntityType | function | core/ |
Tests the convert() method with an invalid dynamic entity type ID. |
EntityRevisionParamConverterTest::testConvertWithInvalidEntityType | function | core/ |
Tests the convert() method with an invalid entity type ID. |
EntityRevisionParamConverterTest::testConvertWithInvalidType | function | core/ |
Tests the convert() method with an invalid dynamic entity type ID. |
EntitySerializationTest::testDenormalizeInvalidCustomSerializedField | function | core/ |
Tests normalizing/denormalizing invalid custom serialized fields. |
EntitySerializationTest::testDenormalizeValidCustomSerializedField | function | core/ |
Tests normalizing/denormalizing valid custom serialized fields. |
EntityStateChangeValidationTest | class | core/ |
@coversDefaultClass \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraintValidator @group content_moderation |
EntityStateChangeValidationTest.php | file | core/ |
|
EntityStateChangeValidationTest::$adminUser | property | core/ |
An admin user. |
EntityStateChangeValidationTest::$modules | property | core/ |
Modules to install. |
EntityStateChangeValidationTest::$usesSuperUserAccessPolicy | property | core/ |
@todo Remove and fix test to not rely on super user. |
EntityStateChangeValidationTest::setUp | function | core/ |
|
EntityStateChangeValidationTest::testExistingContentWithNoModeration | function | core/ |
Tests that content without prior moderation information can be moderated. |
EntityStateChangeValidationTest::testExistingMultilingualContentWithNoModeration | function | core/ |
Tests that content without prior moderation information can be translated. |
EntityStateChangeValidationTest::testInvalidState | function | core/ |
Tests validation with an invalid state. |
EntityStateChangeValidationTest::testInvalidStateMultilingual | function | core/ |
Tests state transition validation with multiple languages. |
EntityStateChangeValidationTest::testInvalidStateWithoutExisting | function | core/ |
Tests validation with no initial state or an invalid state. |
EntityStateChangeValidationTest::testInvalidTransition | function | core/ |
Tests invalid transitions. |
EntityStateChangeValidationTest::testTransitionAccessValidation | function | core/ |
@dataProvider transitionAccessValidationTestCases |
Pagination
- Previous page
- Page 20
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.