public function StatusInterface::setName in Heartbeat 8
Sets the Status name.
Parameters
string $name: The Status name.
Return value
\Drupal\statusmessage\StatusInterface The called Status entity.
1 method overrides StatusInterface::setName()
- Status::setName in modules/
statusmessage/ src/ Entity/ Status.php - Sets the Status name.
File
- modules/
statusmessage/ src/ StatusInterface.php, line 41
Class
- StatusInterface
- Provides an interface for defining Status entities.
Namespace
Drupal\statusmessageCode
public function setName($name);