You are here

function _webform_table_name in Name Field 7

Implements Webform callback _webform_table_COMPONENT().

File

includes/webform.components.inc, line 308
Name Field module name component for the Webform module.

Code

function _webform_table_name($name, $value) {
  $themed_name = theme('name_item', array(
    'item' => $value,
    'format' => $name['extra']['table_format'],
  ));
  return check_plain($themed_name);
}