You are here

protected function EntityShareTaxonomyExport::exportTerm in Entity Share 7

Export the term.

Parameters

int $tid: Term Id to load.

Return value

object The term with all parents loaded.

1 call to EntityShareTaxonomyExport::exportTerm()
EntityShareTaxonomyExport::exportDatas in modules/entity_share_taxonomy/includes/entity_share_taxonomy.export.inc
Manage taxonomy for the export.

File

modules/entity_share_taxonomy/includes/entity_share_taxonomy.export.inc, line 133
Class for handling taxonomy Export.

Class

EntityShareTaxonomyExport
A class to export the taxonomy term.

Code

protected function exportTerm($tid) {
  $full_term = $this
    ->getFullyLoadedTerm($tid);
  return $this
    ->loadParentTree($full_term);
}