You are here

public function ImporterInterface::importContent in Default Content for D8 8

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

Imports default content from a given module.

Parameters

string $module: The module to create the default content from.

Return value

\Drupal\Core\Entity\EntityInterface[] An array of created entities keyed by their UUIDs.

1 method overrides ImporterInterface::importContent()
Importer::importContent in src/Importer.php
Imports default content from a given module.

File

src/ImporterInterface.php, line 19

Class

ImporterInterface
An interface defining a default content importer.

Namespace

Drupal\default_content

Code

public function importContent($module);