Drupal 8  8.0.2
FieldWidgetConstraintValidatorTest Class Reference
Inheritance diagram for FieldWidgetConstraintValidatorTest:

Public Member Functions

 testValidation ()
 
 testValidationWithCompositeConstraint ()
 
 testEntityLevelConstraintValidation ()
 

Static Public Attributes

static $modules = array('entity_test', 'field', 'user', 'system')
 

Protected Member Functions

 setUp ()
 

Detailed Description

Tests validation constraints for FieldWidgetConstraintValidatorTest.

Entity

Member Function Documentation

setUp ( )
protected

{}

testEntityLevelConstraintValidation ( )

Tests entity level constraint validation.

References Entity\create().

Here is the call graph for this function:

testValidation ( )

Tests widget constraint validation.

References Drupal\entityManager(), and Drupal\formBuilder().

Here is the call graph for this function:

testValidationWithCompositeConstraint ( )

Tests widget constraint validation with composite constraints.

References Entity\create(), and SafeMarkup\format().

Here is the call graph for this function:


The documentation for this class was generated from the following file: