Form Child Theme is a helper module that allows you to theme the expanded elements of the checkboxes and radios elements within forms simply by adding '#child_theme' as a variable when declaring the element within a form.
For example:
$form['checkboxes'] = array(
'#type' => 'checkboxes',
'#title' => t('My Checkboxes'),
'#options' => $my_options,
'#child_theme' => 'checkboxes_child_theme',
);
This means that once the checkboxes are expanded out to each checkbox element they will inherit '#child_theme' to '#theme' => 'checkboxes_child_theme'.
This module works for Drupal versions 6 and 7.
Project information
Maintenance fixes only
Considered feature-complete by its maintainers.- Created by timhilliard on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
