You are here

function render_example_theme in Examples for Developers 7

Same name and namespace in other branches
  1. 8 render_example/render_example.module \render_example_theme()
  2. 3.x modules/render_example/render_example.module \render_example_theme()

Implements hook_theme().

Related topics

File

render_example/render_example.module, line 467
Demonstrates render arrays.

Code

function render_example_theme() {
  $items = array(
    'render_example_add_div' => array(
      'render element' => 'element',
    ),
    'render_example_add_notes' => array(
      'render element' => 'element',
    ),
    'render_array' => array(
      'render element' => 'element',
    ),
    'render_example_aggregate' => array(
      'render element' => 'element',
    ),
  );
  return $items;
}