public function SitewideAlertInterface::setName in Sitewide Alert 8
Sets the Sitewide Alert name.
Parameters
string $name: The Sitewide Alert name.
Return value
\Drupal\sitewide_alert\Entity\SitewideAlertInterface The called Sitewide Alert entity.
1 method overrides SitewideAlertInterface::setName()
- SitewideAlert::setName in src/
Entity/ SitewideAlert.php - Sets the Sitewide Alert name.
File
- src/
Entity/ SitewideAlertInterface.php, line 40
Class
- SitewideAlertInterface
- Provides an interface for defining Sitewide Alert entities.
Namespace
Drupal\sitewide_alert\EntityCode
public function setName($name);