ImporterInterface.php in Default Content for D8 2.0.x
Same filename and directory in other branches
Namespace
Drupal\default_contentFile
src/ImporterInterface.phpView source
<?php
namespace Drupal\default_content;
/**
* An interface defining a default content importer.
*/
interface ImporterInterface {
/**
* Imports default content from a given module.
*
* @param string $module
* The module to create the default content from.
*
* @return \Drupal\Core\Entity\EntityInterface[]
* An array of created entities keyed by their UUIDs.
*/
public function importContent($module);
}
Interfaces
Name | Description |
---|---|
ImporterInterface | An interface defining a default content importer. |