You are here

public function HeartbeatInterface::setName in Heartbeat 8

Sets the Heartbeat name.

Parameters

string $name: The Heartbeat name.

Return value

\Drupal\heartbeat\Entity\HeartbeatInterface The called Heartbeat entity.

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

File

src/Entity/HeartbeatInterface.php, line 46

Class

HeartbeatInterface
Provides an interface for defining Heartbeat entities.

Namespace

Drupal\heartbeat\Entity

Code

public function setName($name);