You are here

function og_vocab_rules_action_assign_vocab in OG Vocabulary 6

Action: Assign vocabulary to group.

File

./og_vocab.rules.inc, line 52
Rules integration for the og_vocab module.

Code

function og_vocab_rules_action_assign_vocab($node, $vocab, $settings) {
  og_vocab_write_record($node->nid, $vocab->vid);
}