You are here

function svg_image_field_theme in SVG Image Field 8

Same name and namespace in other branches
  1. 2.1.x svg_image_field.module \svg_image_field_theme()
  2. 2.0.x svg_image_field.module \svg_image_field_theme()

Implements hook_theme().

File

./svg_image_field.module, line 74
Contains svg_image_field.module.

Code

function svg_image_field_theme() {
  return [
    'svg_image_field_formatter' => [
      'variables' => [
        'inline' => FALSE,
        'attributes' => NULL,
        'uri' => NULL,
        'svg_data' => NULL,
        'link_url' => NULL,
      ],
    ],
  ];
}