You are here

Dashboard.php in Dashboards with Layout Builder 8

Same filename in this branch
  1. 8 src/Annotation/Dashboard.php
  2. 8 src/Entity/Dashboard.php
Same filename and directory in other branches
  1. 2.0.x src/Annotation/Dashboard.php

File

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

namespace Drupal\dashboards\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a Dashboard item annotation object.
 *
 * @see \Drupal\dashboards\Plugin\DashboardManager
 * @see plugin_api
 *
 * @Annotation
 */
class Dashboard extends Plugin {

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

  /**
   * The label of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * Category of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $category;

}

Classes

Namesort descending Description
Dashboard Defines a Dashboard item annotation object.