You are here

function _popup_menu_default_settings in Popup 8

Same name and namespace in other branches
  1. 7 modules/popup_menu/includes/popup_menu.util.inc \_popup_menu_default_settings()
  2. 7.x modules/popup_menu/includes/popup_menu.util.inc \_popup_menu_default_settings()
  3. 6.x modules/popup_menu/includes/popup_menu.util.inc \_popup_menu_default_settings()
2 calls to _popup_menu_default_settings()
popup_menu_block_form in modules/popup_menu/includes/popup_menu.util.inc
popup_menu_block_view in modules/popup_menu/popup_menu.module
Implementation of hook_block_view

File

modules/popup_menu/includes/popup_menu.util.inc, line 91

Code

function _popup_menu_default_settings() {
  module_load_include('inc', 'popup_ui', 'includes/popup_ui.admin');
  $format_options = _popup_ui_formatter_settings();
  return array(
    'format' => isset($format_options['Popup menu']) ? 'Popup menu' : 'Default',
  );
}