field_attach_delete_bundle

  1. drupal
    1. drupal7
Versionen
drupal7 field_attach_delete_bundle($bundle)

Notify field.module the a bundle was deleted.

This deletes the data for the field instances as well as the field instances themselves. This function actually just marks the data and field instances and deleted, leaving the garbage collection for a separate process, because it is not always possible to delete this much data in a single page request (particularly since for some field types, the deletion is more than just a simple DELETE query).

Übergabeparameter

$bundle The bundle to delete.

This function is an autoloader for _field_attach_delete_bundle() in modules/field/field.attach.inc.

Verwandte Themen

Code

modules/field/field.autoload.inc, line 352

<?php
function field_attach_delete_bundle($bundle) {
  require_once DRUPAL_ROOT . '/modules/field/field.attach.inc';
  return _field_attach_delete_bundle($bundle);
}
?>

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