You are here

function og_panels_delete_confirm_submit in Organic groups 5.7

Same name and namespace in other branches
  1. 5.8 og_panels.module \og_panels_delete_confirm_submit()
  2. 5 og_panels.module \og_panels_delete_confirm_submit()
  3. 5.3 og_panels.module \og_panels_delete_confirm_submit()
  4. 6 modules/og_panels/og_panels.module \og_panels_delete_confirm_submit()

File

./og_panels.module, line 149

Code

function og_panels_delete_confirm_submit($form_id, $form_values) {
  og_panels_delete($form_values['did']);
  drupal_set_message(t('%title has been deleted.', array(
    '%title' => $form_values['page_title'],
  )));
}