You are here

EntityTestEntityLevel.php in Zircon Profile 8

File

core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestEntityLevel.php
View 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

Namesort descending Description
EntityTestEntityLevel Constraint on entity entity level.