public function HomeboxLayout::setCreatedTime in Homebox 8
Sets the Homebox Layout creation timestamp.
Parameters
int $timestamp: The Homebox Layout creation timestamp.
Return value
$this
Overrides HomeboxLayoutInterface::setCreatedTime
File
- src/
Entity/ HomeboxLayout.php, line 149
Class
- HomeboxLayout
- Defines the Homebox Layout entity.
Namespace
Drupal\homebox\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}