You are here

public function SimpleMegaMenu::setRevisionCreationTime in Simple Mega Menu 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/SimpleMegaMenu.php \Drupal\simple_megamenu\Entity\SimpleMegaMenu::setRevisionCreationTime()

Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime().

Overrides RevisionLogEntityTrait::setRevisionCreationTime

File

src/Entity/SimpleMegaMenu.php, line 207

Class

SimpleMegaMenu
Defines the Simple mega menu entity.

Namespace

Drupal\simple_megamenu\Entity

Code

public function setRevisionCreationTime($timestamp) {
  $this
    ->set('revision_timestamp', $timestamp);
  return $this;
}