function theme_radios


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 theme_radios($variables)
cle7 theme_radios($variables)
elmsmedia7 theme_radios($variables)
icor7 theme_radios($variables)
meedjum_blog7 theme_radios($variables)
mooc7 theme_radios($variables)

Returns HTML for a set of radio button form elements.


$variables: An associative array containing:

  • element: An associative array containing the properties of the element. Properties used: #title, #value, #options, #description, #required, #attributes, #children.

Related topics

183 string references to the theme hook from theme_radios()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

advagg_admin_settings_form in sites/all/modules/ulmus/advagg/
Form builder; Configure advagg settings.
advagg_css_compress_admin_settings_form in sites/all/modules/ulmus/advagg/advagg_css_compress/
Form builder; Configure advagg settings.
advagg_js_compress_admin_settings_form in sites/all/modules/ulmus/advagg/advagg_js_compress/
Form builder; Configure advagg settings.
advagg_mod_admin_settings_form in sites/all/modules/ulmus/advagg/advagg_mod/
Form builder; Configure advagg settings.
aggregator_admin_form in modules/aggregator/
Form constructor for the aggregator system settings.

... See full list


includes/, line 2869
Functions for form and batch generation and processing.


function theme_radios($variables) {
  $element = $variables['element'];
  $attributes = array();
  if (isset($element['#id'])) {
    $attributes['id'] = $element['#id'];
  $attributes['class'] = 'form-radios';
  if (!empty($element['#attributes']['class'])) {
    $attributes['class'] .= ' ' . implode(' ', $element['#attributes']['class']);
  if (isset($element['#attributes']['title'])) {
    $attributes['title'] = $element['#attributes']['title'];
  return '<div' . drupal_attributes($attributes) . '>' . (!empty($element['#children']) ? $element['#children'] : '') . '</div>';