You are here

function theme_field_formatter_field_test_default in SimpleTest 7

Theme function for 'field_test_default' formatter.

File

tests/field_test.module, line 595

Code

function theme_field_formatter_field_test_default($variables) {
  $element = $variables['element'];
  $value = $element['#item']['value'];
  $settings = $element['#settings'];
  return $settings['test_formatter_setting'] . '|' . $value;
}