hook_field_delete_revision

  1. drupal
    1. drupal7
Versionen
drupal7 hook_field_delete_revision($obj_type, $object, $field, $instance, $items)

Define custom delete_revision behavior for this module's field types.

This hook is invoked just before the data is deleted from field storage, and will only be called for fieldable types that are versioned.

Übergabeparameter

$obj_type The type of $object.

$object The object for the operation.

$field The field structure for the operation.

$instance The instance structure for $field on $object's bundle.

$items $object->{$field['field_name']}, or an empty array if unset.

Verwandte Themen

Code

modules/field/field.api.php, line 358

<?php
function hook_field_delete_revision($obj_type, $object, $field, $instance, $items) { }
?>

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