You are here

interface ContentExporterInterface in Content Synchronization 8.2

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

Hierarchy

Expanded class hierarchy of ContentExporterInterface

All classes that implement ContentExporterInterface

4 files declare their use of ContentExporterInterface
ContentExportForm.php in src/Form/ContentExportForm.php
ContentSingleExportForm.php in src/Form/ContentSingleExportForm.php
ContentSyncCommands.php in src/Commands/ContentSyncCommands.php
ContentSyncManager.php in src/ContentSyncManager.php

File

src/Exporter/ContentExporterInterface.php, line 8

Namespace

Drupal\content_sync\Exporter
View source
interface ContentExporterInterface {

  /**
   * Exports the given entity.
   *
   * @param \Drupal\Core\Entity\ContentEntityInterface $entity
   * @param array $context
   *
   * @return array
   */
  public function exportEntity(ContentEntityInterface $entity, array $context = []);

}

Members

Namesort descending Modifiers Type Description Overrides
ContentExporterInterface::exportEntity public function Exports the given entity. 1