You are here

function theme_thickbox_formatter in Thickbox 6

1 string reference to 'theme_thickbox_formatter'
thickbox_theme in ./thickbox.module
Implementation of hook_theme().

File

./thickbox.module, line 167
Author: Fredrik Jonsson fredrik at combonet dot se The thickbox module is a simple wrapper for the jquery plugin ThickBox http://jquery.com/demo/thickbox/.

Code

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