You are here

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

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

Exports a single entity and all its referenced entity.

Parameters

string $entity_type_id: The entity type ID.

mixed $entity_id: The entity ID to export.

Return value

string[][] The serialized entities keyed by entity type and UUID.

1 method overrides ExporterInterface::exportContentWithReferences()
Exporter::exportContentWithReferences in src/Exporter.php
Exports a single entity and all its referenced entity.

File

src/ExporterInterface.php, line 34

Class

ExporterInterface
An interface defining a default content exporter.

Namespace

Drupal\default_content

Code

public function exportContentWithReferences($entity_type_id, $entity_id);