public function Status::setName in Heartbeat 8
Sets the Status name.
Parameters
string $name: The Status name.
Return value
\Drupal\statusmessage\StatusInterface The called Status entity.
Overrides StatusInterface::setName
File
- modules/
statusmessage/ src/ Entity/ Status.php, line 91
Class
Namespace
Drupal\statusmessage\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}