You are here

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

Same name and namespace in other branches
  1. 2.0.x src/ExporterInterface.php \Drupal\default_content\ExporterInterface::exportModuleContent()

Exports all of the content defined in a module's info file.

Parameters

string $module_name: The name of the module.

Return value

string[][] The serialized entities keyed by entity type and UUID.

Throws

\InvalidArgumentException If any UUID is not found.

1 method overrides ExporterInterface::exportModuleContent()
Exporter::exportModuleContent in src/Exporter.php
Exports all of the content defined in a module's info file.

File

src/ExporterInterface.php, line 48

Class

ExporterInterface
An interface defining a default content exporter.

Namespace

Drupal\default_content

Code

public function exportModuleContent($module_name);