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