You are here

function og_insert_group in Organic groups 6.2

Same name and namespace in other branches
  1. 5.8 og.module \og_insert_group()
  2. 5 og.module \og_insert_group()
  3. 5.2 og.module \og_insert_group()
  4. 5.3 og.module \og_insert_group()
  5. 5.7 og.module \og_insert_group()
  6. 6 og.module \og_insert_group()

On creation of new group, save group-specific data.

2 calls to og_insert_group()
og_nodeapi in ./og.module
Implementation of hook_nodeapi().
og_update_group in ./og.module
On update of a group node, or if a node becomes a group, save group data.

File

./og.module, line 1518
Code for the Organic Groups module.

Code

function og_insert_group($node) {
  drupal_write_record('og', $node);
}