3 namespace Drupal\entity_browser\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines an entity browser widget validation annotation object.
10 * @see hook_entity_browser_widget_validation_info_alter()
14 class EntityBrowserWidgetValidation extends Plugin {
24 * The human-readable name of the widget validator.
26 * @ingroup plugin_translatable
28 * @var \Drupal\Core\Annotation\Translation
33 * (Optional) The data type plugin ID, for which a constraint should be added.
40 * (Optional) The constraint ID.