You are here

function webform_tt in Webform 6.3

Same name and namespace in other branches
  1. 7.4 webform.module \webform_tt()
  2. 7.3 webform.module \webform_tt()

Wrapper function for tt() if i18nstrings enabled.

1 call to webform_tt()
webform_configure_form in includes/webform.pages.inc
Main configuration form for editing a webform node.

File

./webform.module, line 3603

Code

function webform_tt($name, $string, $langcode = NULL, $update = FALSE) {
  if (function_exists('tt')) {
    return tt($name, $string, $langcode, $update);
  }
  else {
    return $string;
  }
}