You are here

function link_iframe_formatter_theme in Link iframe formatter 2.x

Same name and namespace in other branches
  1. 8 link_iframe_formatter.module \link_iframe_formatter_theme()
  2. 7 link_iframe_formatter.module \link_iframe_formatter_theme()

Implements hook_theme().

File

./link_iframe_formatter.module, line 11
Contains main module functions.

Code

function link_iframe_formatter_theme() {
  return [
    'link_iframe_formatter' => [
      'variables' => [
        'url' => NULL,
        'width' => NULL,
        'height' => NULL,
        'class' => NULL,
        'original' => NULL,
        'path' => NULL,
        'scrolling' => 'yes',
      ],
      'template' => 'link-iframe-formatter',
    ],
  ];
}