function simple_styleguide_theme in Simple Style Guide 8
Implements hook_theme().
File
- ./
simple_styleguide.module, line 29 - Contains simple_styleguide.module.
Code
function simple_styleguide_theme() {
return [
'simple_styleguide' => [
'render element' => 'children',
'variables' => [
'default_patterns' => NULL,
'default_colors' => NULL,
'custom_patterns' => NULL,
'form' => NULL,
],
],
'simple_styleguide_pattern' => [
'variables' => [
'pattern_id' => NULL,
'pattern' => NULL,
],
],
];
}