You are here

public function Wishlist::getCreatedTime in Commerce Wishlist 8.3

Gets the wishlist creation timestamp.

Return value

int Creation timestamp of the wishlist.

Overrides WishlistInterface::getCreatedTime

File

src/Entity/Wishlist.php, line 300

Class

Wishlist
Defines the wishlist entity class.

Namespace

Drupal\commerce_wishlist\Entity

Code

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