public function ImportEntity::setCreatedTime in Content Synchronizer 8.2
Same name and namespace in other branches
- 8 src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::setCreatedTime()
- 3.x src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::setCreatedTime()
Sets the Import creation timestamp.
Parameters
int $timestamp: The Import creation timestamp.
Return value
\Drupal\content_synchronizer\Entity\ImportEntityInterface The called Import entity.
Overrides ImportEntityInterface::setCreatedTime
File
- src/
Entity/ ImportEntity.php, line 135
Class
- ImportEntity
- Defines the Import entity.
Namespace
Drupal\content_synchronizer\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}