You are here

public function WishlistTypeInterface::setAllowAnonymous in Commerce Wishlist 8.3

Sets whether the wishlist item type allows anonymous wishlists.

Parameters

bool $allow_anonymous: Whether the wishlist item type allows anonymous wishlists.

Return value

$this

1 method overrides WishlistTypeInterface::setAllowAnonymous()
WishlistType::setAllowAnonymous in src/Entity/WishlistType.php
Sets whether the wishlist item type allows anonymous wishlists.

File

src/Entity/WishlistTypeInterface.php, line 28

Class

WishlistTypeInterface
Defines the interface for wishlist types.

Namespace

Drupal\commerce_wishlist\Entity

Code

public function setAllowAnonymous($allow_anonymous);