public function OrderReport::getOrderId in Commerce Reporting 8
Gets the order ID.
Return value
int The order ID.
Overrides OrderReportInterface::getOrderId
File
- src/
Entity/ OrderReport.php, line 69
Class
- OrderReport
- Defines the order report entity class.
Namespace
Drupal\commerce_reports\EntityCode
public function getOrderId() {
return $this
->get('order_id')->target_id;
}