function hook_field_attach_presave

Act on field_attach_presave().

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

Parameters

\Drupal\Core\Entity\EntityInterface $entity: the entity with fields to process.

Related topics

1 function implements hook_field_attach_presave()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

translation_entity_field_attach_presave in drupal/core/modules/translation_entity/translation_entity.module
Implements hook_field_attach_presave().
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 942

Code

function hook_field_attach_presave(\Drupal\Core\Entity\EntityInterface $entity) {

  // @todo Needs function body.
}