You are here

public function EntityShareEntityExport::contentFieldWalk in Entity Share 7

Walk though the entity to load dependencies and prepare it for the export.

Parameters

object $entity: Entity or sub entity to export.

Overrides EntityShareEntityAbstract::contentFieldWalk

1 call to EntityShareEntityExport::contentFieldWalk()
EntityShareEntityExport::execute in includes/entity_share.entity.export.inc
Generate the export.

File

includes/entity_share.entity.export.inc, line 55
Class for handling Entity Export.

Class

EntityShareEntityExport
Manage general entity export.

Code

public function contentFieldWalk($entity = NULL) {
  if (!isset($entity)) {
    $entity = $this
      ->getEntity();
  }
  $this
    ->unsetEntityIds($entity);
  parent::contentFieldWalk($entity);
}