function node_embed_suppress_admin_menu in Node Embed 7
Suppress Admin Menu if it is present
1 call to node_embed_suppress_admin_menu()
- node_embed_views_pre_render in ./
node_embed.module - Implements hook_views_pre_render().
File
- ./
node_embed.module, line 305 - This module defines an input filter for taking an embed code syntax ([[nid: ###]]) and removing the embed code and replacing with a rendered node view at that position in the text field.
Code
function node_embed_suppress_admin_menu() {
if (module_exists('admin_menu')) {
admin_menu_suppress();
}
}