client_applications_delete

Versions
mediamosa-174
client_applications_delete(&$form, $app_id)

Delete confirm form to delete an application.

Parameters

array &$form Form values

integer $app_id The application id to delete

Code

client_applications/client_applications.module, line 593

<?php
function client_applications_delete(&$form, $app_id) {
  return confirm_form(
    array(
      'app_id' => array(
        '#type' => 'hidden',
        '#value' => $app_id,
      ),
    ), // form
    t('Are you sure you want to delete this application?'), // question
    'vpx/client_applications/list', // cancel path
    t('This action cannot be undone.'), // description
    t('Delete'), // caption for the delete button
    t('Cancel') // caption for the cancel button
  );
}
?>