You are here

ContentImporterInterface.php in Content Synchronization 8.2

Same filename and directory in other branches
  1. 3.0.x src/Importer/ContentImporterInterface.php

File

src/Importer/ContentImporterInterface.php
View source
<?php

namespace Drupal\content_sync\Importer;

interface ContentImporterInterface {

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

}

Interfaces