You are here

public function FlippingBook::getType in Flipping Book 8

Gets the Flipping Book type.

Return value

string The Flipping Book type.

Overrides FlippingBookInterface::getType

File

src/Entity/FlippingBook.php, line 85

Class

FlippingBook
Defines the Flipping Book entity.

Namespace

Drupal\flipping_book\Entity

Code

public function getType() {
  return $this
    ->bundle();
}