You are here

EntityBrowserFieldWidgetDisplay.php in Entity Browser 8.2

Same filename and directory in other branches
  1. 8 src/Annotation/EntityBrowserFieldWidgetDisplay.php

File

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

namespace Drupal\entity_browser\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines an entity browser field widget display annotation object.
 *
 * @see hook_entity_browser_field_widget_display_info_alter()
 *
 * @Annotation
 */
class EntityBrowserFieldWidgetDisplay extends Plugin {

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

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

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

}

Classes

Namesort descending Description
EntityBrowserFieldWidgetDisplay Defines an entity browser field widget display annotation object.