You are here

function pathauto_i18n_node_module_implements_alter in Pathauto i18n 8

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

Implements hook_module_implements_alter().

File

modules/pathauto_i18n_node/pathauto_i18n_node.module, line 102
Provides tools for creating multilanguage aliases for nodes.

Code

function pathauto_i18n_node_module_implements_alter(&$implementations, $hook) {

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