You are here

function focal_point_theme in Focal Point 8

Same name and namespace in other branches
  1. 7 focal_point.module \focal_point_theme()

Implements hook_theme().

File

./focal_point.module, line 33
Allow users to specify a focal point on content images.

Code

function focal_point_theme($existing, $type, $theme, $path) {
  return [
    'focal_point_preview_page' => [
      'variables' => [
        'original_image' => NULL,
        'derivative_images' => [],
        'focal_point' => '',
        'preview_image_note' => '',
        'derivative_image_note' => '',
      ],
    ],
  ];
}