class EntityTestEntityLevel
Same name in other branches
- 8.9.x core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestEntityLevel.php \Drupal\entity_test\Plugin\Validation\Constraint\EntityTestEntityLevel
- 10 core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestEntityLevel.php \Drupal\entity_test\Plugin\Validation\Constraint\EntityTestEntityLevel
- 11.x core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestEntityLevel.php \Drupal\entity_test\Plugin\Validation\Constraint\EntityTestEntityLevel
Constraint on entity level.
Plugin annotation
@Constraint(
id = "EntityTestEntityLevel",
label = @Translation("Constraint on the entity level."),
type = "entity"
)
Hierarchy
- class \Drupal\entity_test\Plugin\Validation\Constraint\EntityTestEntityLevel extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of EntityTestEntityLevel
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ EntityTestEntityLevel.php, line 16
Namespace
Drupal\entity_test\Plugin\Validation\ConstraintView source
class EntityTestEntityLevel extends Constraint {
public $message = 'Entity level validation';
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
EntityTestEntityLevel::$message | public | property |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.