You are here

function form_example_theme in Examples for Developers 7

Same name and namespace in other branches
  1. 6 form_example/form_example.module \form_example_theme()

Implements hook_theme().

The only theme implementation is by the element example. To keep the various parts of the example together, this actually returns _form_example_element_theme().

Related topics

File

form_example/form_example.module, line 228
Examples demonstrating the Drupal Form API.

Code

function form_example_theme($existing, $type, $theme, $path) {
  require_once 'form_example_elements.inc';
  return _form_example_element_theme($existing, $type, $theme, $path);
}