You are here

EntityBrowserWidgetSelector.php in Entity Browser 8

Same filename and directory in other branches
  1. 8.2 src/Annotation/EntityBrowserWidgetSelector.php

File

src/Annotation/EntityBrowserWidgetSelector.php
View source
<?php

namespace Drupal\entity_browser\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines an entity browser widget selector annotation object.
 *
 * @see hook_entity_browser_widget_selector_info_alter()
 *
 * @Annotation
 */
class EntityBrowserWidgetSelector extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable name of the widget selector.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * A brief description of the widget selector.
   *
   * This will be shown when adding or configuring this widget selector.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description = '';

}

Classes

Namesort descending Description
EntityBrowserWidgetSelector Defines an entity browser widget selector annotation object.