You are here

public function FlippingBook::setName in Flipping Book 8

Sets the Flipping Book name.

Parameters

string $name: The Flipping Book name.

Return value

\Drupal\flipping_book\Entity\FlippingBookInterface The called Flipping Book entity.

Overrides FlippingBookInterface::setName

File

src/Entity/FlippingBook.php, line 111

Class

FlippingBook
Defines the Flipping Book entity.

Namespace

Drupal\flipping_book\Entity

Code

public function setName($name) {
  $this
    ->set('name', $name);
  return $this;
}