1 node_type_example.module | node_type_example_theme($existing, $type, $theme, $path) |
Implements hook_theme().
It gives to Backdrop the list of our theme functions and their arguments.
Related topics
File
- modules/
examples/ node_type_example/ node_type_example.module, line 197 - Hook implementations for the Node Type Example module.
Code
function node_type_example_theme($existing, $type, $theme, $path) {
return array(
'node_type_example_color' => array(
'variables' => array('color' => NULL),
),
);
}