You are here

function pmpapi_groups_delete_form in Public Media Platform API Integration 7

Form constructor for the PMPAPI groups delete form.

See also

pmpapi_groups_delete_form_submit()

1 string reference to 'pmpapi_groups_delete_form'
pmpapi_groups_menu in pmpapi_groups/pmpapi_groups.module
Implements hook_menu().

File

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

Code

function pmpapi_groups_delete_form($form, &$form_state, $guid) {
  $question = t('Are you sure you want to delete the group with guid: @guid?', array(
    '@guid' => $guid,
  ));
  return confirm_form(array(), $question, 'admin/config/services/pmp/groups/edit/' . $guid);
}