system_actions_delete_form

  1. drupal
    1. drupal6
    2. drupal7
Versionen
drupal6 – drupal7 system_actions_delete_form($form_state, $action)

Create the form for confirmation of deleting an action.

See also

system_actions_delete_form_submit()

Verwandte Themen

Code

modules/system/system.module, line 1932

<?php
function system_actions_delete_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->description)), 
    'admin/settings/actions/manage', 
    t('This cannot be undone.'), 
    t('Delete'), t('Cancel')
  );
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen