You are here

public function PriceListItem::getCreatedTime in Commerce Pricelist 8

Gets the price list item creation timestamp.

Return value

int Creation timestamp of the price list item.

Overrides PriceListItemInterface::getCreatedTime

File

src/Entity/PriceListItem.php, line 120

Class

PriceListItem
Defines the price list item entity.

Namespace

Drupal\commerce_pricelist\Entity

Code

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