entity_browser-8.x-2.x-dev/src/Plugin/EntityBrowser/WidgetValidation/EntityType.php

src/Plugin/EntityBrowser/WidgetValidation/EntityType.php
<?php

namespace Drupal\entity_browser\Plugin\EntityBrowser\WidgetValidation;

use Drupal\entity_browser\WidgetValidationBase;

/**
 * Validates that each passed Entity is of the correct type.
 *
 * @EntityBrowserWidgetValidation(
 *   id = "entity_type",
 *   label = @Translation("Entity type validator"),
 *   data_type = "entity_reference",
 *   constraint = "EntityType"
 * )
 */
class EntityType extends WidgetValidationBase {}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc