You are here

function socialfeed_theme in Social Feed 7

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

Implements hook_theme().

File

./socialfeed.module, line 166
Provide Facebook, Twitter and Instagram.

Code

function socialfeed_theme($existing, $type, $theme, $path) {
  return array(
    'socialfeed_facebook' => array(
      'variables' => array(
        'facebook' => NULL,
      ),
      'template' => 'facebook',
      'path' => drupal_get_path('module', 'socialfeed') . '/templates',
    ),
    'socialfeed_twitter' => array(
      'variables' => array(
        'twitter' => NULL,
      ),
      'template' => 'twitter',
      'path' => drupal_get_path('module', 'socialfeed') . '/templates',
    ),
    'socialfeed_instagram' => array(
      'variables' => array(
        'instagram_images' => NULL,
      ),
      'template' => 'instagram',
      'path' => drupal_get_path('module', 'socialfeed') . '/templates',
    ),
  );
}