You are here

public function Heartbeat::getName in Heartbeat 8

Gets the Heartbeat name.

Return value

string Name of the Heartbeat.

Overrides HeartbeatInterface::getName

File

src/Entity/Heartbeat.php, line 150

Class

Heartbeat

Namespace

Drupal\heartbeat\Entity

Code

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