You are here

function og_node_delete_nongroup_form in Organic groups 6

Same name and namespace in other branches
  1. 5.8 og.module \og_node_delete_nongroup_form()
  2. 5 og.module \og_node_delete_nongroup_form()
  3. 5.2 og.module \og_node_delete_nongroup_form()
  4. 5.3 og.module \og_node_delete_nongroup_form()
  5. 5.7 og.module \og_node_delete_nongroup_form()
  6. 6.2 og.module \og_node_delete_nongroup_form()
1 call to og_node_delete_nongroup_form()
og_form_node_delete_confirm_alter in ./og.module

File

./og.module, line 1897

Code

function og_node_delete_nongroup_form(&$form) {
  if ($groupnode = og_get_group_context()) {
    $form['#redirect'] = "node/{$groupnode->nid}";
  }
}