function textimage_theme in Textimage 8.4
Same name and namespace in other branches
- 8.3 textimage.module \textimage_theme()
- 6.2 textimage.module \textimage_theme()
- 7.3 textimage.module \textimage_theme()
- 7.2 textimage.module \textimage_theme()
Implements hook_theme().
File
- ./
textimage.module, line 35 - Textimage - Provides text to image manipulations.
Code
function textimage_theme() {
$theme = [
// Format a textimage.
'textimage_formatter' => [
'variables' => [
'item' => NULL,
'uri' => NULL,
'width' => NULL,
'height' => NULL,
'alt' => '',
'title' => '',
'attributes' => [],
'image_container_attributes' => [],
'anchor_url' => NULL,
],
],
];
return $theme;
}