public function ProductVariation::getCreatedTime in Commerce Core 8.2
Gets the variation creation timestamp.
Return value
int The variation creation timestamp.
Overrides ProductVariationInterface::getCreatedTime
File
- modules/
product/ src/ Entity/ ProductVariation.php, line 237
Class
- ProductVariation
- Defines the product variation entity class.
Namespace
Drupal\commerce_product\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}