You are here

public function WishlistItem::getCreatedTime in Commerce Wishlist 8.3

Gets the wishlist item creation timestamp.

Return value

int The wishlist item creation timestamp.

Overrides WishlistItemInterface::getCreatedTime

File

src/Entity/WishlistItem.php, line 233

Class

WishlistItem
Defines the wishlist item entity class.

Namespace

Drupal\commerce_wishlist\Entity

Code

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