| Versionen | |
|---|---|
| drupal7 | field_attach_delete($obj_type, &$object) |
Delete field data for an existing object. This deletes all revisions of field data for the object.
$obj_type The type of $object; e.g. 'node' or 'user'.
$object The object whose field data to delete.
This function is an autoloader for _field_attach_delete() in modules/field/field.attach.inc.
modules/
<?php
function field_attach_delete($obj_type, &$object) {
require_once DRUPAL_ROOT . '/modules/field/field.attach.inc';
return _field_attach_delete($obj_type, $object);
}
?>
Kommentare
Kommentar hinzufügen