You are here

public function ProductBundle::getCreatedTime in Commerce Product Bundle 8

Gets the product bundle creation timestamp.

Return value

int Creation timestamp of the product bundle.

Overrides BundleInterface::getCreatedTime

File

src/Entity/ProductBundle.php, line 104

Class

ProductBundle
Defines the product bundle entity.

Namespace

Drupal\commerce_product_bundle\Entity

Code

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