function og_vocab_test_init in OG Vocabulary 7
Implements hook_init().
File
- tests/
og_vocab_test.module, line 12 - Test module for OG vocabulary.
Code
function og_vocab_test_init() {
if ($nid = variable_get('og_vocab_test_context_nid', FALSE)) {
$node = node_load($nid);
og_context('node', $node);
}
}