public function OrderReport::getCreatedTime in Commerce Reporting 8
Gets the order report creation timestamp.
This is when the order transitions from a draft to a non-draft state, allowing for the report to be generated because it became immutable.
Return value
int Creation timestamp of the order report.
Overrides OrderReportInterface::getCreatedTime
File
- src/
Entity/ OrderReport.php, line 76
Class
- OrderReport
- Defines the order report entity class.
Namespace
Drupal\commerce_reports\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}