You are here

public function UpdateUtilsInterface::setRevisionCreationTime in Scheduled Updates 8

Set revision creation time for entities that support it.

Currently only nodes and entities that use Entity API are supported.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity:

1 method overrides UpdateUtilsInterface::setRevisionCreationTime()
UpdateUtils::setRevisionCreationTime in src/UpdateUtils.php
Set revision creation time for entities that support it.

File

src/UpdateUtilsInterface.php, line 76

Class

UpdateUtilsInterface
Service to determine information about Scheduled Update Types

Namespace

Drupal\scheduled_updates

Code

public function setRevisionCreationTime(ContentEntityInterface $entity);