actions_delete

  1. drupal
    1. drupal6
    2. drupal7
Versionen
drupal6 – drupal7 actions_delete($aid)

Delete a single action from the database.

Übergabeparameter

$aid The ID of the action to delete.

▾ 2 functions call actions_delete()

actions_synchronize in includes/actions.inc
Synchronize actions that are provided by modules.
system_actions_delete_form_submit in modules/system/system.module
Process system_actions_delete form submissions.

Code

includes/actions.inc, line 360

<?php
function actions_delete($aid) {
  db_delete('actions')
    ->condition('aid', $aid)
    ->execute();
  module_invoke_all('actions_delete', $aid);
}
?>

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