EntityTestEntityLevel.php in Zircon Profile 8.0
Same filename and directory in other branches
File
core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestEntityLevel.phpView source
<?php
/**
* @file
* Contains \Drupal\entity_test\Plugin\Validation\Constraint\EntityTestEntityLevel.
*/
namespace Drupal\entity_test\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
/**
* Constraint on entity entity level.
*
* @Constraint(
* id = "EntityTestEntityLevel",
* label = @Translation("Constraint on the entity level."),
* type = "entity"
* )
*/
class EntityTestEntityLevel extends Constraint {
public $message = 'Entity level validation';
}
Classes
Name | Description |
---|---|
EntityTestEntityLevel | Constraint on entity entity level. |