You are here

public function UcWishlist::getPrivate in UC Wish List 8

Renders wishlist private status.

Return value

int Wishlist private status.

Overrides UcWishlistInterface::getPrivate

File

src/Entity/UcWishlist.php, line 181

Class

UcWishlist
Defines the user entity class.

Namespace

Drupal\uc_wishlist\Entity

Code

public function getPrivate() {
  return $this
    ->get('private')->value;
}