You are here

public function ExportEntityWriter::initFromId in Content Synchronizer 3.x

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

THe id of the directory.

File

src/Processors/ExportEntityWriter.php, line 71

Class

ExportEntityWriter
Export entity writer.

Namespace

Drupal\content_synchronizer\Processors

Code

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