function hook_field_attach_insert

Act on field_attach_insert().

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_insert()
field_attach_insert in drupal/core/modules/field/field.attach.inc
Save field data for a new entity.

File

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

Code

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

  // @todo Needs function body.
}