public function HeartbeatStreamInterface::setPublished in Heartbeat 8
Sets the published status of a Heartbeat stream.
Parameters
bool $published: TRUE to set this Heartbeat stream to published, FALSE to set it to unpublished.
Return value
\Drupal\heartbeat\Entity\HeartbeatStreamInterface The called Heartbeat stream entity.
1 method overrides HeartbeatStreamInterface::setPublished()
- HeartbeatStream::setPublished in src/
Entity/ HeartbeatStream.php - Sets the published status of a Heartbeat stream.
File
- src/
Entity/ HeartbeatStreamInterface.php, line 78
Class
- HeartbeatStreamInterface
- Provides an interface for defining Heartbeat stream entities.
Namespace
Drupal\heartbeat\EntityCode
public function setPublished($published);