You are here

function mmenu_icon_list in Mobile sliding menu 7.3

Same name and namespace in other branches
  1. 8 mmenu.module \mmenu_icon_list()
  2. 7.2 mmenu.module \mmenu_icon_list()

Gets a list of available mmenu icons.

Return value

array All available mmenu icons.

1 call to mmenu_icon_list()
mmenu_get_icon_class in ./mmenu.module
Get the icon class for the given path or block title.

File

./mmenu.module, line 754
Primarily Drupal hooks and global API functions to manipulate mmenus.

Code

function mmenu_icon_list() {

  // Get mmenu icons from hook.
  $icons = module_invoke_all('mmenu_icon');

  // Invoke hook_mmenu_icon_alter().
  // To allow all modules to alter the mmenu icon.
  drupal_alter('mmenu_icon', $icons);
  return $icons;
}