You are here

public function Status::getName in Heartbeat 8

Gets the Status name.

Return value

string Name of the Status.

Overrides StatusInterface::getName

File

modules/statusmessage/src/Entity/Status.php, line 84

Class

Status

Namespace

Drupal\statusmessage\Entity

Code

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