function theme_multiple_selects_none in Multiple Selects 7
Returns HTML for the label for the empty value for options that are not required.
The default theme will display N/A for a radio list and '- None -' for a select.
Parameters
$variables: An associative array containing:
- instance: An array representing the widget requesting the options.
1 theme call to theme_multiple_selects_none()
- _multiple_selects_get_options in ./
multiple_selects.module - Collects the options for a field.
File
- ./
multiple_selects.module, line 25
Code
function theme_multiple_selects_none($variables) {
$instance = $variables['instance'];
$option = $variables['option'];
$output = $option == 'option_none' ? t('- None -') : t('- Select a value -');
return $output;
}