function styleguide_theme in Style Guide 7
Same name and namespace in other branches
- 8 styleguide.module \styleguide_theme()
- 6 styleguide.module \styleguide_theme()
- 2.x styleguide.module \styleguide_theme()
Implements hook_theme().
File
- ./
styleguide.module, line 75
Code
function styleguide_theme($existing, $type, $theme, $path) {
$themes = array(
'styleguide_header' => array(
'variables' => array(
'theme_info' => array(),
),
),
'styleguide_links' => array(
'variables' => array(
'items' => array(),
),
),
'styleguide_item' => array(
'variables' => array(
'key' => NULL,
'item' => array(),
'content' => NULL,
),
),
'styleguide_content' => array(
'variables' => array(
'content' => NULL,
),
),
);
foreach ($themes as $theme => $data) {
$themes[$theme]['file'] = 'styleguide.theme.inc';
}
return $themes;
}