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\EntityCode
public function getName() {
return $this
->get('name')->value;
}