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