You are here

public function PopupOnLoadInterface::setPublished in Popup On Load 8

Sets the published status of a Popup On Load.

Parameters

bool $published: TRUE to set this Popup On Load to published, FALSE to set it to unpublished.

Return value

\Drupal\popup_onload\Entity\PopupOnLoadInterface The called Popup On Load entity.

1 method overrides PopupOnLoadInterface::setPublished()
PopupOnLoad::setPublished in src/Entity/PopupOnLoad.php
Sets the published status of a Popup On Load.

File

src/Entity/PopupOnLoadInterface.php, line 74

Class

PopupOnLoadInterface
Provides an interface for defining Popup On Load entities.

Namespace

Drupal\popup_onload\Entity

Code

public function setPublished($published);