function plus1_theme in Plus 1 7
Same name and namespace in other branches
- 6.2 plus1.module \plus1_theme()
- 6 plus1.module \plus1_theme()
Implements hook_theme().
File
- ./
plus1.module, line 87
Code
function plus1_theme() {
return array(
'plus1_widget' => array(
'variables' => array(
'entity_type' => NULL,
'entity_id' => NULL,
'tag' => NULL,
'score' => 0,
'logged_in' => FALSE,
'is_author' => FALSE,
'voted' => FALSE,
'vote_link' => NULL,
'undo_vote_link' => NULL,
'link_query' => array(),
'can_vote' => NULL,
'can_undo_vote' => NULL,
'undo_vote_text' => NULL,
'voted_text' => NULL,
'vote_text' => NULL,
),
'template' => 'plus1-widget',
'path' => drupal_get_path('module', 'plus1') . '/theme',
),
'plus1_json_response' => array(
'variables' => array(
'entity_type' => NULL,
'entity_id' => NULL,
'tag' => NULL,
'score' => NULL,
'vote_type' => NULL,
),
),
);
}