You are here

public function HeartbeatStreamInterface::setName in Heartbeat 8

Sets the Heartbeat stream name.

Parameters

string $name: The Heartbeat stream name.

Return value

\Drupal\heartbeat\Entity\HeartbeatStreamInterface The called Heartbeat stream entity.

1 method overrides HeartbeatStreamInterface::setName()
HeartbeatStream::setName in src/Entity/HeartbeatStream.php
Sets the Heartbeat stream name.

File

src/Entity/HeartbeatStreamInterface.php, line 38

Class

HeartbeatStreamInterface
Provides an interface for defining Heartbeat stream entities.

Namespace

Drupal\heartbeat\Entity

Code

public function setName($name);