ContentExporterInterface.php in Content Synchronization 8.2
Same filename and directory in other branches
Namespace
Drupal\content_sync\ExporterFile
src/Exporter/ContentExporterInterface.phpView source
<?php
namespace Drupal\content_sync\Exporter;
use Drupal\Core\Entity\ContentEntityInterface;
interface ContentExporterInterface {
/**
* Exports the given entity.
*
* @param \Drupal\Core\Entity\ContentEntityInterface $entity
* @param array $context
*
* @return array
*/
public function exportEntity(ContentEntityInterface $entity, array $context = []);
}
Interfaces
Name | Description |
---|---|
ContentExporterInterface |