function twitter_theme in Twitter 7.6
Same name and namespace in other branches
- 6.5 twitter.module \twitter_theme()
- 6.2 twitter.module \twitter_theme()
- 6.3 twitter.module \twitter_theme()
- 6.4 twitter.module \twitter_theme()
- 7.3 twitter.module \twitter_theme()
- 7.4 twitter.module \twitter_theme()
- 7.5 twitter.module \twitter_theme()
Implements hook_theme().
File
- ./
twitter.module, line 160 - 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(),
),
),
);
}