protected function EntityShareTaxonomyExport::cleanTaxonomyTermExport in Entity Share 7
Clean a term with unneeded datas.
Parameters
object $term: Term to clean.
Return value
object Cleaned term.
1 call to EntityShareTaxonomyExport::cleanTaxonomyTermExport()
- EntityShareTaxonomyExport::getFullyLoadedTerm in modules/
entity_share_taxonomy/ includes/ entity_share_taxonomy.export.inc - Load a term with parent infos.
File
- modules/
entity_share_taxonomy/ includes/ entity_share_taxonomy.export.inc, line 69 - Class for handling taxonomy Export.
Class
- EntityShareTaxonomyExport
- A class to export the taxonomy term.
Code
protected function cleanTaxonomyTermExport($term) {
unset($term->i18n_tsid);
return $term;
}