You are here

function responsive_menus_styles in Responsive Menus 7

Gather available styles for Responsive Menus.

Return value

array Array of available styles.

3 calls to responsive_menus_styles()
responsive_menus_admin_form in ./responsive_menus.module
Admin settings form for which menus to responsify.
responsive_menus_context_options_form in includes/context/responsive_menus_context.inc
Options form callack for context integration.
responsive_menus_style_load in ./responsive_menus.module
Load a single style.

File

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

Code

function responsive_menus_styles() {
  $data =& drupal_static(__FUNCTION__, array());
  if (!isset($data['styles'])) {
    $data['styles'] = module_invoke_all('responsive_menus_style_info');
    drupal_alter('responsive_menus_styles', $data['styles']);
  }
  return $data['styles'];
}