You are here

function pathauto_i18n_taxonomy_module_implements_alter in Pathauto i18n 8

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

Implements hook_module_implements_alter().

File

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

Code

function pathauto_i18n_taxonomy_module_implements_alter(&$implementations, $hook) {

  // Move pathauto_i18n_taxonomy to the end of the list.
  // By default there not available pathauto value.
  if ($hook == 'form_alter') {
    $group = $implementations['pathauto_i18n_taxonomy'];
    unset($implementations['pathauto_i18n_taxonomy']);
    $implementations['pathauto_i18n_taxonomy'] = $group;
  }
}