You are here

function pathauto_i18n_taxonomy_remove_alias in Pathauto i18n 8

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

Sets the status of a pathauto_i18n_status to 0.

Parameters

object $term: A term object.

array $context: (optional) Array of additional information about what triggered the action. Not used for this action.

File

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

Code

function pathauto_i18n_taxonomy_remove_alias($term, $context = array()) {
  $term->path['pathauto_i18n_status'] = 0;
}