public function Font::setCreatedTime in @font-your-face 8.3
Sets the Font creation timestamp.
Parameters
int $timestamp: The Font creation timestamp.
Return value
\Drupal\fontyourface\FontInterface The called Font entity.
Overrides FontInterface::setCreatedTime
File
- src/
Entity/ Font.php, line 96
Class
- Font
- Defines the Font entity.
Namespace
Drupal\fontyourface\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}