interface ContentExporterInterface in Content Synchronization 8.2
Same name and namespace in other branches
- 3.0.x src/Exporter/ContentExporterInterface.php \Drupal\content_sync\Exporter\ContentExporterInterface
Hierarchy
- interface \Drupal\content_sync\Exporter\ContentExporterInterface
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\ExporterView 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
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContentExporterInterface:: |
public | function | Exports the given entity. | 1 |