Pull merge.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / theme.twig
1 /**
2  * Implements hook_theme().
3  */
4 function {{ machine_name }}_theme($existing, $type, $theme, $path) {
5   return array(
6     'forum_display' => array(
7       'variables' => array('forums' => NULL, 'topics' => NULL, 'parents' => NULL, 'tid' => NULL, 'sortby' => NULL, 'forum_per_page' => NULL),
8     ),
9     'forum_list' => array(
10       'variables' => array('forums' => NULL, 'parents' => NULL, 'tid' => NULL),
11     ),
12     'forum_topic_list' => array(
13       'variables' => array('tid' => NULL, 'topics' => NULL, 'sortby' => NULL, 'forum_per_page' => NULL),
14     ),
15     'forum_icon' => array(
16       'variables' => array('new_posts' => NULL, 'num_posts' => 0, 'comment_mode' => 0, 'sticky' => 0),
17     ),
18     'status_report' => array(
19       'render element' => 'requirements',
20       'file' => 'system.admin.inc',
21     ),
22     'system_date_time_settings' => array(
23       'render element' => 'form',
24       'file' => 'system.admin.inc',
25     ),
26   );
27 }