class CommerceReportType in Commerce Reporting 8
Defines the commerce report type plugin annotation object.
Plugin namespace: Plugin\Commerce\ReportType.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\commerce_reports\Annotation\CommerceReportType
Expanded class hierarchy of CommerceReportType
See also
4 classes are annotated with CommerceReportType
- OrderItemsReport in src/
Plugin/ Commerce/ ReportType/ OrderItemsReport.php - Provides the Order Items Report.
- OrderReport in src/
Plugin/ Commerce/ ReportType/ OrderReport.php - Provides the basic Order Report.
- PromotionReport in src/
Plugin/ Commerce/ ReportType/ PromotionReport.php - Provide a report for Promotions on behalf of commerce_promotion.
- TaxReport in src/
Plugin/ Commerce/ ReportType/ TaxReport.php - Provide a report for Taxes on behalf of commerce_tax.
File
- src/
Annotation/ CommerceReportType.php, line 16
Namespace
Drupal\commerce_reports\AnnotationView source
class CommerceReportType extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The commerce report type label.
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $label;
/**
* The commerce report type create label.
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $create_label;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CommerceReportType:: |
public | property | The commerce report type create label. | |
CommerceReportType:: |
public | property | The plugin ID. | |
CommerceReportType:: |
public | property | The commerce report type label. | |
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 |