You are here

function entity_share_taxonomy_es_import_local_entities_alter in Entity Share 7

Implements hook_es_import_local_entities_alter().

File

modules/entity_share_taxonomy/entity_share_taxonomy.module, line 49
Entity Share Taxonomy .module file.

Code

function entity_share_taxonomy_es_import_local_entities_alter(&$entity, $context) {
  if ($entity->entity_type == 'taxonomy_term') {
    EntityShareTaxonomyImport::setLocalVocabularyId($entity);
  }
}