3 namespace Drupal\entity_browser\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines an entity browser display annotation object.
10 * @see hook_entity_browser_display_info_alter()
14 class EntityBrowserDisplay extends Plugin {
24 * The human-readable name of the display.
26 * @ingroup plugin_translatable
28 * @var \Drupal\Core\Annotation\Translation
33 * A brief description of the display.
35 * This will be shown when adding or configuring this display.
37 * @ingroup plugin_translatable
39 * @var \Drupal\Core\Annotation\Translation (optional)
41 public $description = '';
44 * Indicates that display uses route.
48 public $uses_route = FALSE;