public BlockContent::setRevisionCreationTime($timestamp)
Sets the entity revision creation timestamp.
Parameters
int $timestamp: The UNIX timestamp of when this revision was created.
Return value
$this
Overrides RevisionLogInterface::setRevisionCreationTime
File
- core/modules/block_content/src/Entity/BlockContent.php, line 246
Class
- BlockContent
- Defines the custom block entity class.
Namespace
Drupal\block_content\Entity
Code
public function setRevisionCreationTime($timestamp) { $this->set('revision_created', $timestamp); return $this; }
Please login to continue.