function mmenu_mmenu_icon in Mobile sliding menu 8
Same name and namespace in other branches
- 7.3 mmenu.module \mmenu_mmenu_icon()
- 7.2 mmenu.module \mmenu_mmenu_icon()
Implements hook_mmenu_icon().
File
- ./
mmenu.module, line 217 - Primarily Drupal hooks and global API functions to manipulate mmenus.
Code
function mmenu_mmenu_icon() {
$icons = array(
'path' => array(
'<nolink>' => 'icon-plus',
'<firstchild>' => 'icon-plus',
'<front>' => 'icon-home',
'home' => 'icon-home',
'about' => 'icon-office',
'contact' => 'icon-envelope',
'user' => 'icon-profile',
'user/login' => 'icon-lock',
'user/logout' => 'icon-unlocked',
'user/register' => 'icon-signup',
'cart' => 'icon-cart',
'cart/checkout' => 'icon-money-bag',
'admin/dashboard' => 'icon-dashboard',
'admin/store' => 'icon-cart',
'admin/content' => 'icon-file3',
'admin/structure' => 'icon-tree',
'admin/appearance' => 'icon-paint-format',
'admin/people' => 'icon-users2',
'admin/modules' => 'icon-library',
'admin/config' => 'icon-settings',
'admin/reports' => 'icon-stats',
'admin/help' => 'icon-question',
),
'block' => array(
array(
'module' => 'system',
'delta' => 'main-menu',
'icon_class' => 'icon-enter',
),
array(
'module' => 'system',
'delta' => 'user-menu',
'icon_class' => 'icon-enter',
),
array(
'module' => 'system',
'delta' => 'devel',
'icon_class' => 'icon-enter',
),
array(
'module' => 'system',
'delta' => 'navigation',
'icon_class' => 'icon-enter',
),
array(
'module' => 'system',
'delta' => 'management',
'icon_class' => 'icon-enter',
),
array(
'module' => 'search',
'delta' => 'search_form_block',
'icon_class' => 'icon-search',
),
array(
'module' => 'mmenu',
'delta' => 'mmenu_search',
'icon_class' => 'icon-search',
),
),
);
return $icons;
}