function _coder_i18n_l_without_t in Coder 6.2
Same name and namespace in other branches
- 6 includes/coder_i18n.inc \_coder_i18n_l_without_t()
Define the warning callbacks.
1 string reference to '_coder_i18n_l_without_t'
- coder_i18n_reviews in includes/
coder_i18n.inc - Implementation of hook_reviews().
File
- includes/
coder_i18n.inc, line 196 - This include file implements coder functionality to check for Internationalization issues.
Code
function _coder_i18n_l_without_t() {
return array(
'#warning' => t('The $text argument to !l() should be enclosed within !t() so that it is translatable.', array(
'!l' => theme('drupalapi', 'l'),
'!t' => theme('drupalapi', 't'),
)),
);
}