You are here

public function DefaultContentManagerInterface::importContent in Default Content 8

Imports default content for a given module.

Parameters

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

Return value

array[\Drupal\Core\Entity\EntityInterface] The created entities.

1 method overrides DefaultContentManagerInterface::importContent()
DefaultContentManager::importContent in src/DefaultContentManager.php
Imports default content for a given module.

File

src/DefaultContentManagerInterface.php, line 32
Contains \Drupal\defaultcontent\DefaultContentManager.

Class

DefaultContentManagerInterface
An interface defining a default content importer.

Namespace

Drupal\defaultcontent

Code

public function importContent($module);