public function Keyword::setCreatedTime in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/Entity/Keyword.php \Drupal\bibcite_entity\Entity\Keyword::setCreatedTime()
Sets the Keyword creation timestamp.
Parameters
int $timestamp: The Keyword creation timestamp.
Return value
\Drupal\bibcite_entity\Entity\KeywordInterface The called Keyword entity.
Overrides KeywordInterface::setCreatedTime
File
- modules/
bibcite_entity/ src/ Entity/ Keyword.php, line 85
Class
- Keyword
- Defines the Keyword entity.
Namespace
Drupal\bibcite_entity\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}