public function ExportEntity::setCreatedTime in Content Synchronizer 8
Same name and namespace in other branches
- 8.2 src/Entity/ExportEntity.php \Drupal\content_synchronizer\Entity\ExportEntity::setCreatedTime()
- 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\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}