You are here

function pathauto_i18n_taxonomy_taxonomy_term_update in Pathauto i18n 8

Same name and namespace in other branches
  1. 7 modules/pathauto_i18n_taxonomy/pathauto_i18n_taxonomy.module \pathauto_i18n_taxonomy_taxonomy_term_update()

Implements hook_taxonomy_term_update().

1 call to pathauto_i18n_taxonomy_taxonomy_term_update()
pathauto_i18n_taxonomy_pathauto_alias_alter in modules/pathauto_i18n_taxonomy/pathauto_i18n_taxonomy.module
Implements hook_pathauto_alias_alter().

File

modules/pathauto_i18n_taxonomy/pathauto_i18n_taxonomy.module, line 63
Provides tools for creating multilanguage aliases for taxonomy terms.

Code

function pathauto_i18n_taxonomy_taxonomy_term_update($term) {
  pathauto_i18n_init_property($term, 'taxonomy', $term->vocabulary_machine_name);
  pathauto_i18n_process_entity_object($term, 'taxonomy_term', $term->path['pathauto_i18n_status'], 'update');
}