function image_url_formatter_theme in Image URL Formatter 8
Same name and namespace in other branches
- 7 image_url_formatter.module \image_url_formatter_theme()
Implements hook_theme().
File
- ./
image_url_formatter.module, line 14 - Add an URL formatter for image field
Code
function image_url_formatter_theme() {
return [
'image_url_formatter' => [
'variables' => [
'item' => NULL,
'url' => NULL,
'image_style' => NULL,
'url_type' => NULL,
],
],
];
}