interface ImporterInterface in Default Content for D8 8
Same name and namespace in other branches
- 2.0.x src/ImporterInterface.php \Drupal\default_content\ImporterInterface
An interface defining a default content importer.
Hierarchy
- interface \Drupal\default_content\ImporterInterface
Expanded class hierarchy of ImporterInterface
All classes that implement ImporterInterface
1 file declares its use of ImporterInterface
File
- src/ImporterInterface.php, line 8 
Namespace
Drupal\default_contentView source
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);
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| ImporterInterface:: | public | function | Imports default content from a given module. | 1 | 
