You are here

function instagram_block_theme in Instagram Block 8.3

Same name and namespace in other branches
  1. 8 instagram_block.module \instagram_block_theme()
  2. 8.2 instagram_block.module \instagram_block_theme()
  3. 7 instagram_block.module \instagram_block_theme()

Implements hook_theme().

File

./instagram_block.module, line 35
The module file for instagram_block module.

Code

function instagram_block_theme() {
  return [
    'instagram_block_image' => [
      'variables' => [
        'data' => NULL,
        'height' => NULL,
        'width' => NULL,
        'src' => NULL,
        'href' => NULL,
      ],
      'template' => 'instagram-block-image',
    ],
  ];
}