protected function Importer::addToImport in Default Content Deploy 8
Adding prepared data for import.
Parameters
$data:
Return value
$this
1 call to Importer::addToImport()
- Importer::decodeFile in src/
Importer.php - Prepare file to import.
File
- src/
Importer.php, line 510
Class
- Importer
- A service for handling import of default content.
Namespace
Drupal\default_content_deployCode
protected function addToImport($data) {
$uuid = $data['data']['uuid'][0]['value'];
$this->dataToImport[$uuid] = $data;
return $this;
}