Return to Snippet

Revision: 46412
at May 18, 2011 19:50 by kfiil


Initial Code
$lvl_menu = menu_navigation_links('secondary-links', 0);
$vars['social_menu'] = theme('links', $lvl_menu, array('class' => 'secondary-menu') );

Initial URL

                                

Initial Description
How to get a menu in a preprocess function

Initial Title
Drupal menu in preprocess function

Initial Tags
drupal

Initial Language
PHP