You are here

Dashboard.php in Dashboards with Layout Builder 2.0.x

Same filename in this branch
  1. 2.0.x src/Annotation/Dashboard.php
  2. 2.0.x src/Entity/Dashboard.php
Same filename and directory in other branches
  1. 8 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.