| 6 node_example.module | node_example_theme() |
| 7 node_example.module | node_example_theme($existing, $type, $theme, $path) |
| 8 node_example.module | node_example_theme($existing, $type, $theme, $path) |
Implements hook_theme().
This lets us tell Drupal about our theme functions and their arguments.
Related topics
File
- node_example/
node_example.module, line 159 - 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),
),
);
}
Login or register to post comments