function og_node_delete_nongroup_form in Organic groups 5.3
Same name and namespace in other branches
- 5.8 og.module \og_node_delete_nongroup_form()
- 5 og.module \og_node_delete_nongroup_form()
- 5.2 og.module \og_node_delete_nongroup_form()
- 5.7 og.module \og_node_delete_nongroup_form()
- 6.2 og.module \og_node_delete_nongroup_form()
- 6 og.module \og_node_delete_nongroup_form()
1 call to og_node_delete_nongroup_form()
- og_form_alter in ./
og.module
File
- ./
og.module, line 1587
Code
function og_node_delete_nongroup_form(&$form) {
if ($groupnode = og_get_group_context()) {
$form['#redirect'] = "node/{$groupnode->nid}";
}
}