You are here

function responsive_menus_google_nexus_style_js_settings in Responsive Menus 7

JS callback from hook_responsive_menus_style_info().

1 string reference to 'responsive_menus_google_nexus_style_js_settings'
responsive_menus_responsive_menus_style_info in ./responsive_menus.module
Implements hook_responsive_menus_style_info().

File

./responsive_menus.module, line 903
Responsify menus in Drupal.

Code

function responsive_menus_google_nexus_style_js_settings($js_defaults = array()) {
  $js_settings = array(
    'selectors' => responsive_menus_var_get('responsive_menus_google_nexus_css_selectors', '#main-menu', $js_defaults),
    'use_ecoicons' => responsive_menus_var_get('responsive_menus_google_nexus_use_ecoicons', 1, $js_defaults),
    'icons' => responsive_menus_explode_list('responsive_menus_google_nexus_icons', "\\ue005\n\\ue006", $js_defaults),
    'icon_fallback' => responsive_menus_var_get('responsive_menus_google_nexus_icon_fallback', '', $js_defaults),
  );
  return $js_settings;
}