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