You are here

public function UcWishlist::setExpirationTime in UC Wish List 8

Sets wishlist exiration timestamp.

Parameters

int $expiration: Wishlist expiration timestamp.

Return value

this

Overrides UcWishlistInterface::setExpirationTime

File

src/Entity/UcWishlist.php, line 158

Class

UcWishlist
Defines the user entity class.

Namespace

Drupal\uc_wishlist\Entity

Code

public function setExpirationTime($expiration) {
  $this
    ->set('expiration', $expiration);
  return $this;
}