7.x field.api.php hook_field_attach_update($entity_type, $entity)

Act on field_attach_update().

This hook is invoked after the field module has performed the operation.

See field_attach_update() for details and arguments.

Related topics

1 invocation of hook_field_attach_update()
field_attach_update in modules/field/field.attach.inc
Save field data for an existing entity.


modules/field/field.api.php, line 1410
Hooks provided by the Field module.


function hook_field_attach_update($entity_type, $entity) {

  // @todo Needs function body.


Johann Wagner’s picture

use hook_field_storage_pre_update.

It works for node creation, edition and of course it works when you call field_attach_update() to save only fields of a node.