You are here

function theme_linkimagefield_formatter in Link Image Field 6

File

./linkimagefield.module, line 268
Defines a link image field type.

Code

function theme_linkimagefield_formatter($element) {
  if (isset($element['#item']['nid']) && ($node = node_load($element['#item']['nid']))) {
    return linkimagefield_field_formatter($element['#field_name'], $element['#item'], $element['#formatter'], $node);
  }
}