public function ReportTypeInterface::generateReports in Commerce Reporting 8
Generates order reports for an order.
Parameters
\Drupal\commerce_order\Entity\OrderInterface $order: The order.
4 methods override ReportTypeInterface::generateReports()
- OrderItemsReport::generateReports in src/
Plugin/ Commerce/ ReportType/ OrderItemsReport.php - Generates order reports for an order.
- OrderReport::generateReports in src/
Plugin/ Commerce/ ReportType/ OrderReport.php - Generates order reports for an order.
- PromotionReport::generateReports in src/
Plugin/ Commerce/ ReportType/ PromotionReport.php - Generates order reports for an order.
- TaxReport::generateReports in src/
Plugin/ Commerce/ ReportType/ TaxReport.php - Generates order reports for an order.
File
- src/
Plugin/ Commerce/ ReportType/ ReportTypeInterface.php, line 58
Class
- ReportTypeInterface
- Defines the interface for order report types.
Namespace
Drupal\commerce_reports\Plugin\Commerce\ReportTypeCode
public function generateReports(OrderInterface $order);