You are here

function theme_shrinktheweb_formatter_shrinktheweb_link_no_text in ShrinkTheWeb 7

Theme function for 'no text' text field formatter.

File

./shrinktheweb.module, line 221

Code

function theme_shrinktheweb_formatter_shrinktheweb_link_no_text($vars) {
  $preview = theme('shrinktheweb_image', array(
    'url' => $vars['element']['url'],
    'options' => array(
      'attributes' => array(
        'class' => array(
          'shrinktheweb',
        ),
      ),
    ),
  ));
  return $preview;
}