| Versionen | |
|---|---|
| drupal7 | hook_field_attach_pre_update($obj_type, $object, &$skip_fields) |
Act on field_attach_update.
This hook allows modules to store data before the Field Storage API, optionally preventing the field storage module from doing so.
$obj_type The type of $object; e.g. 'node' or 'user'.
$object The object with fields to save.
$skip_fields An array keyed by names of fields whose data has already been written and therefore should not be written again. The values associated to these keys are not specified.
Saved field names are set set as keys in $skip_fields.
modules/
<?php
function hook_field_attach_pre_update($obj_type, $object, &$skip_fields) { }
?>
Kommentare
Kommentar hinzufügen