function _popup_menu_settings in Popup 7
Same name and namespace in other branches
- 8 modules/popup_menu/includes/popup_menu.util.inc \_popup_menu_settings()
- 7.x modules/popup_menu/includes/popup_menu.util.inc \_popup_menu_settings()
- 6.x modules/popup_menu/includes/popup_menu.util.inc \_popup_menu_settings()
6 calls to _popup_menu_settings()
- popupmenu_features_export in modules/
popup_menu/ includes/ popup_menu.features.inc - Implementation of [component]_features_export()
- popupmenu_features_export_render in modules/
popup_menu/ includes/ popup_menu.features.inc - Implementation of [component]_features_export_render()
- popupmenu_features_rebuild in modules/
popup_menu/ includes/ popup_menu.features.inc - Implementation of hook_features_rebuild().
- popup_menu_block_form in modules/
popup_menu/ includes/ popup_menu.util.inc - popup_menu_block_form_save in modules/
popup_menu/ includes/ popup_menu.util.inc
File
- modules/
popup_menu/ includes/ popup_menu.util.inc, line 74
Code
function _popup_menu_settings($new_settings = FALSE) {
static $settings = FALSE;
if ($new_settings) {
$settings = $new_settings;
variable_set('popup-menu-settings', $settings);
}
if (!$settings) {
$settings = variable_get('popup-menu-settings', array());
}
return $settings;
}