You are here

function menu_link_weight_install in Menu Link Weight 8

Same name and namespace in other branches
  1. 8.2 menu_link_weight.install \menu_link_weight_install()
  2. 7 menu_link_weight.install \menu_link_weight_install()

Implements hook_install().

File

./menu_link_weight.install, line 11
Contains install and uninstall functions for the Menu Link Weight module.

Code

function menu_link_weight_install() {

  // Set the module weight higher than Menu UI module so that
  // menu_link_weight_form_node_form_alter() is called after
  // menu_ui_form_node_form_alter().
  module_set_weight('menu_link_weight', 10);
}