1b32e471d0e2b0b6d3245657462f72a885007019
[yaffs-website] / web / modules / contrib / entity_browser / src / Plugin / EntityBrowser / WidgetValidation / EntityType.php
1 <?php
2
3 namespace Drupal\entity_browser\Plugin\EntityBrowser\WidgetValidation;
4
5 use Drupal\entity_browser\WidgetValidationBase;
6
7 /**
8  * Validates that each passed Entity is of the correct type.
9  *
10  * @EntityBrowserWidgetValidation(
11  *   id = "entity_type",
12  *   label = @Translation("Entity type validator"),
13  *   data_type = "entity_reference",
14  *   constraint = "EntityType"
15  * )
16  */
17 class EntityType extends WidgetValidationBase {}