1 form_example_elements.inc _form_example_element_theme()

Called by form_example_theme() to provide hook_theme().

This is kept in this file so it can be with the theme functions it presents. Otherwise it would get lonely.

File

modules/examples/form_example/form_example_elements.inc, line 373
This is an example demonstrating how a module can define custom form and render elements.

Code

function _form_example_element_theme() {
  return array(
    'form_example_inline_form_element' => array(
      'render element' => 'element',
      'file' => 'form_example_elements.inc',
    ),
    'form_example_checkbox' => array(
      'render element' => 'element',
      'file' => 'form_example_elements.inc',
    ),
  );
}