function theme_mobile_codes_filefield_formatter in Mobile Codes 6.2
1 string reference to 'theme_mobile_codes_filefield_formatter'
- filefield_mobile_codes_theme_alter in includes/
filefield.inc - Implements hook_mobile_codes_theme_alter() on behalf of filefield.module.
File
- includes/
filefield.inc, line 38 - FileField module integration.
Code
function theme_mobile_codes_filefield_formatter($element) {
if (!mobile_codes_content_field_is_empty($element)) {
return theme('mobilecode', url($element['#item']['filepath'], array(
'absolute' => TRUE,
)), array(
'#preset' => drupal_substr($element['#formatter'], 23),
));
}
}