Same name in other branches
- 7.x-3.x quicktabs.module \quicktabs_translate()
Parameters
$name:
$string:
null $langcode:
string $textgroup:
Return value
mixed
1 call to quicktabs_translate()
- QuickSet::translateString in src/
QuickSet.php - Translates Quicktabs user-defined strings if the i18n module is enabled.
File
-
./
quicktabs.module, line 318
Code
function quicktabs_translate($name, $string, $langcode = NULL, $textgroup = 'quicktabs') {
return function_exists('i18n_string') ? i18n_string($textgroup . ':' . $name, $string, array(
'langcode' => $langcode,
)) : $string;
}