function language_hierarchy_menu_alter in Language Hierarchy 7
Implements hook_menu_alter().
Use our form instead of the default one from locale module.
File
- ./
language_hierarchy.module, line 35
Code
function language_hierarchy_menu_alter(&$items) {
// Change the item values by reference.
$items['admin/config/regional/language']['page arguments'] = array(
'language_hierarchy_form',
);
$items['admin/config/regional/language']['file'] = 'language_hierarchy_form.inc';
$items['admin/config/regional/language']['file path'] = drupal_get_path('module', 'language_hierarchy');
}