Created
July 19, 2016 13:09
-
-
Save flocondetoile/dc0329cc7c8b1b5a816645899953bfd1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_preprocess_HOOK(). | |
*/ | |
function mymodule_preprocess_menu(&$variables) { | |
if ($variables['menu_name'] == 'main') { | |
$variables['terms_list'] = views_embed_view('name_view', 'name_display'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment