function forum_theme in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/forum/forum.module \forum_theme()
Implements hook_theme().
File
- core/
modules/ forum/ forum.module, line 84 - Provides discussion forums.
Code
function forum_theme() {
return array(
'forums' => array(
'variables' => array(
'forums' => array(),
'topics' => array(),
'topics_pager' => array(),
'parents' => NULL,
'term' => NULL,
'sortby' => NULL,
'forum_per_page' => NULL,
'header' => array(),
),
),
'forum_list' => array(
'variables' => array(
'forums' => NULL,
'parents' => NULL,
'tid' => NULL,
),
),
'forum_icon' => array(
'variables' => array(
'new_posts' => NULL,
'num_posts' => 0,
'comment_mode' => 0,
'sticky' => 0,
'first_new' => FALSE,
),
),
'forum_submitted' => array(
'variables' => array(
'topic' => NULL,
),
),
);
}