| 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.
$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.
modules/
<?php
function hook_field_delete_revision($obj_type, $object, $field, $instance, $items) { }
?>
Kommentare
Kommentar hinzufügen