You are here

function socialfeed_theme in Social Feed 8

Same name and namespace in other branches
  1. 6 socialfeed.module \socialfeed_theme()
  2. 7.2 socialfeed.module \socialfeed_theme()
  3. 7 socialfeed.module \socialfeed_theme()

Implements hook_theme().

File

./socialfeed.module, line 29
Contains socialfeed.module.

Code

function socialfeed_theme($existing, $type, $theme, $path) {
  $themes = [];
  $themes['socialfeed_facebook_post'] = [
    'variables' => [
      'post' => [],
    ],
    'file' => 'socialfeed.theme.inc',
  ];
  $themes['socialfeed_twitter_post'] = [
    'variables' => [
      'post' => [],
    ],
    'file' => 'socialfeed.theme.inc',
  ];
  $themes['socialfeed_instagram_post_video'] = [
    'variables' => [
      'post' => [],
    ],
  ];
  $themes['socialfeed_instagram_post_image'] = [
    'variables' => [
      'post' => [],
    ],
  ];
  $themes['socialfeed_instagram_post_carousel_album'] = [
    'variables' => [
      'post' => [],
    ],
  ];
  return $themes;
}