You are here

function og_menu_single_node_insert in OG Menu Single 7

Implements hook_node_insert().

File

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

Code

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