You are here

function twitter_pull_theme in Twitter Pull 7.2

Same name and namespace in other branches
  1. 6.2 twitter_pull.module \twitter_pull_theme()
  2. 6 twitter_pull.module \twitter_pull_theme()
  3. 7 twitter_pull.module \twitter_pull_theme()

Implements hook_theme().

Defines default theme template for a list of tweets.

File

./twitter_pull.module, line 52
Twitter Pull module.

Code

function twitter_pull_theme() {
  global $language;
  return array(
    'twitter_pull_listing' => array(
      'variables' => array(
        'tweets' => NULL,
        'twitkey' => NULL,
        'title' => NULL,
        'lazy_load' => NULL,
        'language' => $language->language,
      ),
      'template' => 'twitter-pull-listing',
    ),
  );
}