public function BundleInterface::setCreatedTime in Commerce Product Bundle 8
Sets the product bundle creation timestamp.
Parameters
int $timestamp: The product bundle creation timestamp.
Return value
\Drupal\commerce_product_bundle\Entity\BundleInterface The called product bundle entity.
1 method overrides BundleInterface::setCreatedTime()
- ProductBundle::setCreatedTime in src/
Entity/ ProductBundle.php - Sets the product bundle creation timestamp.
File
- src/
Entity/ BundleInterface.php, line 71
Class
- BundleInterface
- Provides an interface for defining product bundle entities.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function setCreatedTime($timestamp);