You are here

public function ExporterInterface::writeDefaultContent in Default Content for D8 8

Writes an array of serialized entities to a given folder.

Parameters

string[][] $serialized_by_type: An array of serialized entities keyed by entity type and UUID.

string $folder: The folder to write files into.

1 method overrides ExporterInterface::writeDefaultContent()
Exporter::writeDefaultContent in src/Exporter.php
Writes an array of serialized entities to a given folder.

File

src/ExporterInterface.php, line 58

Class

ExporterInterface
An interface defining a default content exporter.

Namespace

Drupal\default_content

Code

public function writeDefaultContent(array $serialized_by_type, $folder);