You are here

public function Wishlist::getName in Commerce Wishlist 8.3

Gets the wishlist name.

Return value

string The wishlist name.

Overrides WishlistInterface::getName

File

src/Entity/Wishlist.php, line 157

Class

Wishlist
Defines the wishlist entity class.

Namespace

Drupal\commerce_wishlist\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}