class Dashboard in Dashboards with Layout Builder 8
Same name in this branch
- 8 src/Annotation/Dashboard.php \Drupal\dashboards\Annotation\Dashboard
- 8 src/Entity/Dashboard.php \Drupal\dashboards\Entity\Dashboard
Same name and namespace in other branches
- 2.0.x src/Annotation/Dashboard.php \Drupal\dashboards\Annotation\Dashboard
Defines a Dashboard item annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\dashboards\Annotation\Dashboard
Expanded class hierarchy of Dashboard
See also
\Drupal\dashboards\Plugin\DashboardManager
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.
File
- src/
Annotation/ Dashboard.php, line 15
Namespace
Drupal\dashboards\AnnotationView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Dashboard:: |
public | property | Category of the plugin. | |
Dashboard:: |
public | property | The plugin ID. | |
Dashboard:: |
public | property | The label of the plugin. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |