public function WishlistInterface::setPublic in Commerce Wishlist 8.3
Sets whether the wishlist is public.
Parameters
bool $public: Whether the wishlist is public.
Return value
$this
1 method overrides WishlistInterface::setPublic()
- Wishlist::setPublic in src/
Entity/ Wishlist.php - Sets whether the wishlist is public.
File
- src/
Entity/ WishlistInterface.php, line 160
Class
- WishlistInterface
- Defines the interface for wishlists.
Namespace
Drupal\commerce_wishlist\EntityCode
public function setPublic($public);