function hook_field_attach_delete

Act on field_attach_delete().

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 invocation of hook_field_attach_delete()
field_attach_delete in drupal/core/modules/field/field.attach.inc
Deletes field data for an existing entity. This deletes all revisions of field data for the entity.

File

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

Code

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

  // @todo Needs function body.
}