1 link.module link_field_prepare_view($entity_type, $entities, $field, $instances, $langcode, &$items)

Implements hook_field_prepare_view().

File

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

Code

function link_field_prepare_view($entity_type, $entities, $field, $instances, $langcode, &$items) {
  foreach ($items as $entity_id => $entity_items) {
    foreach ($entity_items as $delta => $value) {
      _link_sanitize($items[$entity_id][$delta], $delta, $field, $instances[$entity_id], $entities[$entity_id]);
    }
  }
}