function _dhtml_menu_defaults in DHTML Menu 8
Same name and namespace in other branches
- 6.4 dhtml_menu.install \_dhtml_menu_defaults()
- 7 dhtml_menu.install \_dhtml_menu_defaults()
Default settings storage.
2 calls to _dhtml_menu_defaults()
- dhtml_menu_install in ./
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.
- dhtml_menu_update_7102 in ./
dhtml_menu.install - #7102: Consolidate variables into one settings array.
File
- ./
dhtml_menu.install, line 12 - dhtml_menu.install Installation and update functions for the DHTML Menu module.
Code
function _dhtml_menu_defaults() {
return array(
'nav' => 'open',
'animation' => array(
'effects' => array(
'height' => 'height',
'opacity' => 'opacity',
),
'speed' => 500,
),
'effects' => array(
'siblings' => 'close-same-tree',
'children' => 'none',
'remember' => 0,
),
'filter' => array(
'type' => 'blacklist',
'list' => array(),
),
);
}