| Versionen | |
|---|---|
| drupal7 | hook_field_storage_delete_revision($obj_type, $object) |
Delete a single revision of field data for an object.
Deleting the current (most recently written) revision is not allowed as has undefined results.
$obj_type The entity type of object, such as 'node' or 'user'.
$object The object on which to operate. The revision to delete is indicated by the object's revision id property, as identified by hook_fieldable_info() for $obj_type.
modules/
<?php
function hook_field_storage_delete_revision($obj_type, $object) { }
?>
Kommentare
Kommentar hinzufügen