You are here

function dhtml_menu_install in DHTML Menu 8

Same name and namespace in other branches
  1. 6.4 dhtml_menu.install \dhtml_menu_install()
  2. 6 dhtml_menu.install \dhtml_menu_install()
  3. 7 dhtml_menu.install \dhtml_menu_install()

Implementation of hook_install(). This will create our system variable defaults. The benefit is that we do not need to pass defaults to variable_get(), which allows centralization of defaults.

File

./dhtml_menu.install, line 58
dhtml_menu.install Installation and update functions for the DHTML Menu module.

Code

function dhtml_menu_install() {
  variable_set('dhtml_menu_settings', _dhtml_menu_defaults());
}