You are here

function pmpapi_groups_delete_form_submit in Public Media Platform API Integration 7

Form submission handler for pmpapi_groups_delete_form().

File

pmpapi_groups/pmpapi_groups.admin.inc, line 158
Basic admin forms, validators, and submit handlers.

Code

function pmpapi_groups_delete_form_submit($form, &$form_state) {
  $guid = arg(6);
  pmpapi_remove($guid);
  $form_state['redirect'] = 'admin/config/services/pmp/groups';
}