function theme_test_theme

Implements hook_theme().

File

drupal/core/modules/system/tests/modules/theme_test/theme_test.module, line 6

Code

function theme_test_theme($existing, $type, $theme, $path) {
  $items['theme_test'] = array(
    'file' => 'theme_test.inc',
    'variables' => array(
      'foo' => '',
    ),
  );
  $items['theme_test_template_test'] = array(
    'template' => 'theme_test.template_test',
  );
  $items['theme_test_template_test_2'] = array(
    'template' => 'theme_test.template_test',
  );
  $items['theme_test_foo'] = array(
    'variables' => array(
      'foo' => NULL,
    ),
  );
  $items['theme_test_render_element'] = array(
    'render element' => 'elements',
    'template' => 'theme-test-render-element',
  );
  $items['theme_test_render_element_children'] = array(
    'render element' => 'element',
  );
  return $items;
}