public function SplashifyEntity::setCreatedTime in Splashify 8.2
Sets the Splashify entity creation timestamp.
Parameters
int $timestamp: The Splashify entity creation timestamp.
Return value
\Drupal\splashify\Entity\SplashifyEntityInterface The called Splashify entity entity.
Overrides SplashifyEntityInterface::setCreatedTime
File
- src/
Entity/ SplashifyEntity.php, line 94
Class
- SplashifyEntity
- Defines the Splashify entity entity.
Namespace
Drupal\splashify\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}