You are here

interface ContentImporterInterface in Content Synchronization 8.2

Same name and namespace in other branches
  1. 3.0.x src/Importer/ContentImporterInterface.php \Drupal\content_sync\Importer\ContentImporterInterface

Hierarchy

Expanded class hierarchy of ContentImporterInterface

All classes that implement ContentImporterInterface

2 files declare their use of ContentImporterInterface
ContentSingleImportForm.php in src/Form/ContentSingleImportForm.php
ContentSyncManager.php in src/ContentSyncManager.php

File

src/Importer/ContentImporterInterface.php, line 6

Namespace

Drupal\content_sync\Importer
View source
interface ContentImporterInterface {

  /**
   * @param $decoded_entity
   * @param $entity_type_id
   * @param array $context
   *
   * @return \Drupal\Core\Entity\ContentEntityInterface
   */
  public function importEntity($decoded_entity, $context = []);

}

Members