function theme_mobile_codes_text_formatter in Mobile Codes 6.2
1 string reference to 'theme_mobile_codes_text_formatter'
- text_mobile_codes_theme_alter in includes/
text.inc - Implements hook_mobile_codes_theme_alter() on behalf of text.module.
File
- includes/
text.inc, line 41 - Text module integration.
Code
function theme_mobile_codes_text_formatter($element) {
if (!mobile_codes_content_field_is_empty($element)) {
return theme('mobilecode', $element['#item']['safe'], array(
'#preset' => drupal_substr($element['#formatter'], 18),
));
}
}