You are here

function entity_embed_field_attach_insert in Entity Embed 7

Same name and namespace in other branches
  1. 7.2 includes/entity_embed.file_usage.inc \entity_embed_field_attach_insert()

Implements hook_field_attach_insert().

File

includes/entity_embed.file_usage.inc, line 11
Tracks usage of embedded files.

Code

function entity_embed_field_attach_insert($entity_type, $entity) {
  _entity_embed_filter_add_file_usage_from_fields($entity_type, $entity);
}