You are here

public function UcWishlist::setTitle in UC Wish List 8

Sets wishlist title.

Parameters

string $title: Wishlist title.

Return value

this

Overrides UcWishlistInterface::setTitle

File

src/Entity/UcWishlist.php, line 143

Class

UcWishlist
Defines the user entity class.

Namespace

Drupal\uc_wishlist\Entity

Code

public function setTitle($title) {
  $this
    ->set('title', $title);
  return $this;
}