3 namespace Drupal\entity_browser\Plugin\EntityBrowser\WidgetValidation;
5 use Drupal\entity_browser\WidgetValidationBase;
8 * Validates that each passed Entity is of the correct type.
10 * @EntityBrowserWidgetValidation(
12 * label = @Translation("Entity type validator"),
13 * data_type = "entity_reference",
14 * constraint = "EntityType"
17 class EntityType extends WidgetValidationBase {}