1 node_example.module | node_example_theme($existing, $type, $theme, $path) |
Implements hook_theme().
This lets us tell Backdrop about our theme functions and their arguments.
Related topics
File
- modules/
examples/ node_example/ node_example.module, line 219 - Module file for Node Example module.
Code
function node_example_theme($existing, $type, $theme, $path) {
return array(
'example_node_color' => array(
'variables' => array('color' => NULL),
),
);
}