public function ProductInterface::setCreatedTime in Commerce Core 8.2
Sets the product creation timestamp.
Parameters
int $timestamp: The product creation timestamp.
Return value
$this
1 method overrides ProductInterface::setCreatedTime()
- Product::setCreatedTime in modules/
product/ src/ Entity/ Product.php - Sets the product creation timestamp.
File
- modules/
product/ src/ Entity/ ProductInterface.php, line 50
Class
- ProductInterface
- Defines the interface for products.
Namespace
Drupal\commerce_product\EntityCode
public function setCreatedTime($timestamp);