You are here

public function HeartbeatStream::getName in Heartbeat 8

Gets the Heartbeat stream name.

Return value

string Name of the Heartbeat stream.

Overrides HeartbeatStreamInterface::getName

File

src/Entity/HeartbeatStream.php, line 230

Class

HeartbeatStream
Defines the Heartbeat stream entity.

Namespace

Drupal\heartbeat\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}