You are here

public function PriceList::getCreatedTime in Commerce Pricelist 8

Gets the price list creation timestamp.

Return value

int Creation timestamp of the price list.

Overrides PriceListInterface::getCreatedTime

File

src/Entity/PriceList.php, line 104

Class

PriceList
Defines the Price list entity.

Namespace

Drupal\commerce_pricelist\Entity

Code

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