You are here

public function DefaultContentManagerInterface::exportContentWithMenuLinks in Default Content 8

Exports a single entity as importContent expects it.

Parameters

EntityInterface $entity: The entity type ID.

Return value

string The rendered export as hal.

1 method overrides DefaultContentManagerInterface::exportContentWithMenuLinks()
DefaultContentManager::exportContentWithMenuLinks in src/DefaultContentManager.php
Exports a single entity as importContent expects it.

File

src/DefaultContentManagerInterface.php, line 43
Contains \Drupal\defaultcontent\DefaultContentManager.

Class

DefaultContentManagerInterface
An interface defining a default content importer.

Namespace

Drupal\defaultcontent

Code

public function exportContentWithMenuLinks($entity_type_id, $entity_id);