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