function hook_field_attach_delete_revision

Act on field_attach_delete_revision().

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_delete_revision()
field_attach_delete_revision in drupal/core/modules/field/field.attach.inc
Delete field data for a single revision of an existing entity. The passed entity must have a revision ID attribute.

File

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

Code

function hook_field_attach_delete_revision($entity_type, $entity) {

  // @todo Needs function body.
}