public function DefaultContentManagerInterface::exportContentWithReferences in Default Content 8
Exports a single entity and all its referenced entity.
Parameters
EntityInterface $entity: The entity type ID.
Return value
string[][] The serialized entities keyed by entity type and UUID.
1 method overrides DefaultContentManagerInterface::exportContentWithReferences()
- DefaultContentManager::exportContentWithReferences in src/
DefaultContentManager.php - Exports a single entity and all its referenced entity.
File
- src/
DefaultContentManagerInterface.php, line 54 - Contains \Drupal\defaultcontent\DefaultContentManager.
Class
- DefaultContentManagerInterface
- An interface defining a default content importer.
Namespace
Drupal\defaultcontentCode
public function exportContentWithReferences($entity_type_id, $entity_id);