You are here

public function ProductBundleItem::getCreatedTime in Commerce Product Bundle 8

Gets the product bundle item creation timestamp.

Return value

int Creation timestamp of the product bundle item.

Overrides BundleItemInterface::getCreatedTime

File

src/Entity/ProductBundleItem.php, line 161

Class

ProductBundleItem
Defines the product bundle item entity.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}