1 link.module link_field_insert($entity_type, $entity, $field, $instance, $langcode, &$items)

Implements hook_field_insert().

File

core/modules/link/link.module, line 291
Defines simple link field types.

Code

function link_field_insert($entity_type, $entity, $field, $instance, $langcode, &$items) {
  foreach ($items as $delta => $value) {
    _link_process($items[$delta], $delta, $field, $entity);
  }
}