public function Wishlist::setName in Commerce Wishlist 8.3
Sets the wishlist name.
Parameters
string $name: The wishlist name.
Return value
$this
Overrides WishlistInterface::setName
File
- src/
Entity/ Wishlist.php, line 164
Class
- Wishlist
- Defines the wishlist entity class.
Namespace
Drupal\commerce_wishlist\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}