You are here

class Dashboard in Dashboards with Layout Builder 8

Same name in this branch
  1. 8 src/Annotation/Dashboard.php \Drupal\dashboards\Annotation\Dashboard
  2. 8 src/Entity/Dashboard.php \Drupal\dashboards\Entity\Dashboard
Same name and namespace in other branches
  1. 2.0.x src/Annotation/Dashboard.php \Drupal\dashboards\Annotation\Dashboard

Defines a Dashboard item annotation object.

Hierarchy

Expanded class hierarchy of Dashboard

See also

\Drupal\dashboards\Plugin\DashboardManager

Plugin API

1 string reference to 'Dashboard'
dashboards.schema.yml in config/schema/dashboards.schema.yml
config/schema/dashboards.schema.yml
13 classes are annotated with Dashboard
Account in src/Plugin/Dashboard/Account.php
Show account info.
AddContentMenu in src/Plugin/Dashboard/AddContentMenu.php
Show account info.
Browser in modules/dashboards_matomo/src/Plugin/Dashboard/Browser.php
Show account info.
Comments in modules/dashboards_comments/src/Plugin/Dashboard/Comments.php
Plugin for comment reports.
Country in modules/dashboards_matomo/src/Plugin/Dashboard/Country.php
Show account info.

... See full list

File

src/Annotation/Dashboard.php, line 15

Namespace

Drupal\dashboards\Annotation
View source
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;

}

Members

Namesort descending Modifiers Type Description Overrides
Dashboard::$category public property Category of the plugin.
Dashboard::$id public property The plugin ID.
Dashboard::$label public property The label of the plugin.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2