public function Keyword::setCreatedTime in Alinks 8
Sets the Keyword creation timestamp.
Parameters
int $timestamp: The Keyword creation timestamp.
Return value
\Drupal\alinks\Entity\KeywordInterface The called Keyword entity.
Overrides KeywordInterface::setCreatedTime
File
- src/
Entity/ Keyword.php, line 98
Class
- Keyword
- Defines the Keyword entity.
Namespace
Drupal\alinks\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}