You are here

public function FlippingBook::getName in Flipping Book 8

Gets the Flipping Book name.

Return value

string Name of the Flipping Book.

Overrides FlippingBookInterface::getName

File

src/Entity/FlippingBook.php, line 104

Class

FlippingBook
Defines the Flipping Book entity.

Namespace

Drupal\flipping_book\Entity

Code

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