public RevisionLogEntityTrait::setRevisionCreationTime($timestamp)
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime().
Overrides RevisionLogInterface::setRevisionCreationTime
File
- core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php, line 65
Class
- RevisionLogEntityTrait
- Provides a trait for accessing revision logging and ownership information.
Namespace
Drupal\Core\Entity
Code
public function setRevisionCreationTime($timestamp) { $this->revision_created->value = $timestamp; return $this; }
Please login to continue.