form_example_theme

  1. drupal
    1. 6 form_example.module function
    2. 7 form_example.module function
Drupal 7 form_example_theme($existing, $type, $theme, $path)

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

sites/all/modules/examples/form_example/form_example.module, line 209
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);
}