You are here

public function WishlistType::isAllowAnonymous in Commerce Wishlist 8.3

Gets whether the wishlist item type allows anonymous wishlists.

Return value

bool TRUE if anonymous wishlists are allowed, FALSE otherwise.

Overrides WishlistTypeInterface::isAllowAnonymous

File

src/Entity/WishlistType.php, line 78

Class

WishlistType
Defines the wishlist type entity class.

Namespace

Drupal\commerce_wishlist\Entity

Code

public function isAllowAnonymous() {
  return $this->allowAnonymous;
}