You are here

function theme_textimage_style_image in Textimage 7.3

Theme function to get a Textimage from a stored image style.

1 theme call to theme_textimage_style_image()
TextimageTest::testTextimage in tests/textimage.test
Test functionality of the module.

File

./textimage.module, line 802
Textimage - Provides text to image manipulations.

Code

function theme_textimage_style_image($variables) {
  return theme('textimage_formatter', array(
    'style_name' => $variables['style_name'],
    'text' => $variables['text'],
    'format' => $variables['format'],
    'caching' => $variables['caching'],
    'node' => $variables['node'],
    'source_image_file' => $variables['source_image_file'],
    'alt' => $variables['alt'] ? $variables['alt'] : implode(' - ', $variables['text']),
    'title' => $variables['title'],
    'attributes' => $variables['attributes'],
  ));
}