function hook_field_attach_presave

Act on field_attach_presave().

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

Parameters

$entity_type: The type of $entity; e.g. 'node' or 'user'.

$entity: the entity with fields to process.

Related topics

1 invocation of hook_field_attach_presave()
field_attach_presave in drupal/core/modules/field/field.attach.inc
Performs necessary operations just before fields data get saved.

File

drupal/core/modules/field/field.api.php, line 989

Code

function hook_field_attach_presave($entity_type, $entity) {

  // @todo Needs function body.
}