class EntityTestEntityLevel in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestEntityLevel.php \Drupal\entity_test\Plugin\Validation\Constraint\EntityTestEntityLevel
- 9 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
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| EntityTestEntityLevel:: | public | property | 
