You are here

function exif_theme in Exif 8

Same name and namespace in other branches
  1. 8.2 exif.module \exif_theme()

Implements hook_theme().

File

./exif.module, line 33
Entry point for exif module.

Code

function exif_theme() {
  return [
    'exif_sample' => [
      'variables' => [
        'taxonomy' => 'http://drupal.org/handbook/modules/taxonomy/',
        'image_path' => NULL,
        'metadata' => NULL,
      ],
      'template' => 'exif_sample',
    ],
    'exif_helper_page' => [
      'variables' => [
        'message' => NULL,
        'taxonomy' => 'http://drupal.org/handbook/modules/taxonomy/',
      ],
      'template' => 'exif_helper_page',
    ],
  ];
}