function _responsive_menus_mlpm_get_css in Responsive Menus 7
Get the css to include for the multi-level-push menu based on the configuration.
1 call to _responsive_menus_mlpm_get_css()
File
- ./
responsive_menus.module, line 1291 - Responsify menus in Drupal.
Code
function _responsive_menus_mlpm_get_css() {
$path = drupal_get_path('module', 'responsive_menus') . '/styles';
$style = variable_get('responsive_menus_mlpm_decoration', array(
'font_awesome' => 1,
'google_fonts' => 1,
));
$mlpm_css = array();
if (!isset($style['google_fonts']) || $style['google_fonts']) {
$mlpm_css[] = '//fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700&subset=latin,cyrillic-ext,latin-ext,cyrillic';
}
if (!isset($style['font_awesome']) || $style['font_awesome']) {
$mlpm_css[] = '//netdna.bootstrapcdn.com/font-awesome/4.0.1/css/font-awesome.min.css?the-file-wont-load-without-a-parameter';
}
$mlpm_css[] = $path . '/mlpm/css/jquery.multilevelpushmenu.css';
return $mlpm_css;
}