You are here

public function ExportEntity::setCreatedTime in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Entity/ExportEntity.php \Drupal\content_synchronizer\Entity\ExportEntity::setCreatedTime()
  2. 3.x src/Entity/ExportEntity.php \Drupal\content_synchronizer\Entity\ExportEntity::setCreatedTime()

Sets the Export entity creation timestamp.

Parameters

int $timestamp: The Export entity creation timestamp.

Return value

\Drupal\content_synchronizer\Entity\ExportEntityInterface The called Export entity entity.

Overrides ExportEntityInterface::setCreatedTime

File

src/Entity/ExportEntity.php, line 108

Class

ExportEntity
Defines the Export entity entity.

Namespace

Drupal\content_synchronizer\Entity

Code

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