You are here

public function SplashifyEntityInterface::setPublished in Splashify 8.2

Sets the published status of a Splashify entity.

Parameters

bool $published: TRUE to set this Splashify entity to published, FALSE to set it to unpublished.

Return value

\Drupal\splashify\Entity\SplashifyEntityInterface The called Splashify entity entity.

1 method overrides SplashifyEntityInterface::setPublished()
SplashifyEntity::setPublished in src/Entity/SplashifyEntity.php
Sets the published status of a Splashify entity.

File

src/Entity/SplashifyEntityInterface.php, line 75

Class

SplashifyEntityInterface
Provides an interface for defining Splashify entity entities.

Namespace

Drupal\splashify\Entity

Code

public function setPublished($published);