function system_actions_delete_form

Same name and namespace in other branches
  1. 6.x drupal-6.x/modules/system/system.module \system_actions_delete_form()

Create the form for confirmation of deleting an action.

See also

system_actions_delete_form_submit()

Related topics

1 string reference to 'system_actions_delete_form'
system_menu in drupal-7.x/modules/system/system.module
Implements hook_menu().

Archivo

drupal-7.x/modules/system/system.admin.inc, line 3167
Admin page callbacks for the system module.

Código

function system_actions_delete_form($form, &$form_state, $action) {
  $form['aid'] = array(
    '#type' => 'hidden',
    '#value' => $action->aid,
  );
  return confirm_form($form, t('Are you sure you want to delete the action %action?', array('%action' => $action->label)), 'admin/config/system/actions/manage', t('This cannot be undone.'), t('Delete'), t('Cancel'));
}