You are here

public function UcWishlist::setPrivate in UC Wish List 8

Sets wishlist private status.

Parameters

string $description: Wishlist private status.

Return value

this

Overrides UcWishlistInterface::setPrivate

File

src/Entity/UcWishlist.php, line 188

Class

UcWishlist
Defines the user entity class.

Namespace

Drupal\uc_wishlist\Entity

Code

public function setPrivate($private) {
  $this
    ->set('private', $private);
  return $this;
}