You are here

public function ExportEntityWriter::initFromId in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Processors/ExportEntityWriter.php \Drupal\content_synchronizer\Processors\ExportEntityWriter::initFromId()
  2. 3.x src/Processors/ExportEntityWriter.php \Drupal\content_synchronizer\Processors\ExportEntityWriter::initFromId()

THe id of the directory.

File

src/Processors/ExportEntityWriter.php, line 45

Class

ExportEntityWriter
Export entity writer.

Namespace

Drupal\content_synchronizer\Processors

Code

public function initFromId($id) {
  $this->id = $id . '.' . time() . rand();
}