You are here

public function UcWishlist::getExpirationTime in UC Wish List 8

Renders wishlist expiration timestamp.

Return value

int Wishlist expiration timestamp.

Overrides UcWishlistInterface::getExpirationTime

File

src/Entity/UcWishlist.php, line 151

Class

UcWishlist
Defines the user entity class.

Namespace

Drupal\uc_wishlist\Entity

Code

public function getExpirationTime() {
  return $this
    ->get('expiration')->value;
}