| Versionen | |
|---|---|
| drupal7 | field_attach_presave($obj_type, &$object) |
Perform necessary operations just before fields data get saved.
We take no specific action here, we just give other modules the opportunity to act.
$obj_type The type of $object; e.g. 'node' or 'user'.
$object The object with fields to process.
This function is an autoloader for _field_attach_presave() in modules/field/field.attach.inc.
modules/
<?php
function field_attach_presave($obj_type, &$object) {
require_once DRUPAL_ROOT . '/modules/field/field.attach.inc';
return _field_attach_presave($obj_type, $object);
}
?>
Kommentare
Kommentar hinzufügen