You are here

function twitter_profile_widget_theme in Twitter Profile Widget 8.2

Same name and namespace in other branches
  1. 8 twitter_profile_widget.module \twitter_profile_widget_theme()
  2. 6 twitter_profile_widget.module \twitter_profile_widget_theme()
  3. 7 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 40
Contains twitter_profile_widget.module.

Code

function twitter_profile_widget_theme() {

  // Define a template path for individual feed items.
  return [
    'twitter_profile_widget' => [
      'template' => 'twitter-profile-widget',
      'variables' => [
        'headline' => NULL,
        'tweets' => NULL,
        'view_all' => NULL,
      ],
    ],
  ];
}