You are here

function twitter_theme in Twitter 7.5

Same name and namespace in other branches
  1. 6.5 twitter.module \twitter_theme()
  2. 6.2 twitter.module \twitter_theme()
  3. 6.3 twitter.module \twitter_theme()
  4. 6.4 twitter.module \twitter_theme()
  5. 7.6 twitter.module \twitter_theme()
  6. 7.3 twitter.module \twitter_theme()
  7. 7.4 twitter.module \twitter_theme()

Implements hook_theme().

File

./twitter.module, line 128
Provides API integration with the Twitter microblogging service.

Code

function twitter_theme() {
  return array(
    'twitter_account_list_form' => array(
      'render element' => 'form',
    ),
    'twitter_status' => array(
      'variables' => array(
        'status' => NULL,
        'author' => NULL,
        'reply' => NULL,
        'retweet' => NULL,
        'favorite' => NULL,
      ),
      'template' => 'twitter_status',
      'path' => drupal_get_path('module', 'twitter'),
    ),
    'twitter_user_accounts' => array(
      'variables' => array(
        'accounts' => array(),
      ),
    ),
  );
}