You are here

public function FlippingBookInterface::setPublished in Flipping Book 8

Sets the published status of a Flipping Book.

Parameters

bool $published: TRUE to set this Flipping Book to published, FALSE to set it to unpublished.

Return value

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

1 method overrides FlippingBookInterface::setPublished()
FlippingBook::setPublished in src/Entity/FlippingBook.php
Sets the published status of a Flipping Book.

File

src/Entity/FlippingBookInterface.php, line 83

Class

FlippingBookInterface
Provides an interface for defining Flipping Book entities.

Namespace

Drupal\flipping_book\Entity

Code

public function setPublished($published);