You are here

function theme_signaturefield_formatter_default in SignatureField 6

Theme function for 'default' example field formatter.

$element['#item']: the sanitized $delta value for the item, $element['#field_name']: the field name, $element['#type_name']: the $node->type, $element['#formatter']: the $formatter_name, $element'#node']: the $node, $element['#delta']: the delta of this item, like '0',

File

modules/content.inc, line 236
Content module integration.

Code

function theme_signaturefield_formatter_default($element) {
  return theme('signaturefield_display', $element['#item']['value']);
}