1 form_example_elements.inc theme_form_example_checkbox($variables)

Themes a custom checkbox.

This doesn't actually do anything, but is here to show that theming can be done here.

File

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

Code

function theme_form_example_checkbox($variables) {
  $element = $variables['element'];
  return theme('checkbox', $element);
}