You are here

function og_menu_single_node_update in OG Menu Single 7

Implements hook_node_update().

File

./og_menu_single.module, line 229
Creates a single menu per organic group on a site.

Code

function og_menu_single_node_update($node) {
  if (og_menu_single_is_enabled_group('node', $node->type)) {
    _og_menu_single_save_group_link($node, og_menu_single_get_link_mlid('node', $node->nid));
  }
}