You are here

function theme_mobile_codes_link_formatter in Mobile Codes 6.2

1 string reference to 'theme_mobile_codes_link_formatter'
link_mobile_codes_theme_alter in includes/link.inc
Implements hook_mobile_codes_theme_alter() on behalf of link.module.

File

includes/link.inc, line 38
Link module integration.

Code

function theme_mobile_codes_link_formatter($element) {
  if (!mobile_codes_content_field_is_empty($element)) {
    return theme('mobilecode', $element['#item']['display_url'], array(
      '#preset' => drupal_substr($element['#formatter'], 18),
    ));
  }
}