You are here

function twitter_profile_widget_theme in Twitter Profile Widget 7

Same name and namespace in other branches
  1. 8.2 twitter_profile_widget.module \twitter_profile_widget_theme()
  2. 8 twitter_profile_widget.module \twitter_profile_widget_theme()
  3. 6 twitter_profile_widget.module \twitter_profile_widget_theme()
  4. 3.x twitter_profile_widget.module \twitter_profile_widget_theme()

Implements hook_theme().

File

./twitter_profile_widget.module, line 76

Code

function twitter_profile_widget_theme($existing, $type, $theme, $path) {
  return array(
    'twitter_profile_block' => array(
      'variables' => array(
        'twitter_script' => NULL,
        'follow_us_enabled' => NULL,
        'follow_us_link' => NULL,
      ),
      'template' => 'twitter-profile-widget',
    ),
  );
}