You are here

public function ExporterInterface::exportContent in Default Content for D8 8

Same name and namespace in other branches
  1. 2.0.x src/ExporterInterface.php \Drupal\default_content\ExporterInterface::exportContent()

Exports a single entity as importContent expects it.

Parameters

string $entity_type_id: The entity type ID.

mixed $entity_id: The entity ID to export.

Return value

string The rendered export as hal.

1 method overrides ExporterInterface::exportContent()
Exporter::exportContent in src/Exporter.php
Exports a single entity as importContent expects it.

File

src/ExporterInterface.php, line 21

Class

ExporterInterface
An interface defining a default content exporter.

Namespace

Drupal\default_content

Code

public function exportContent($entity_type_id, $entity_id);