theme_options_none

Versions
mediamosa-21
theme_options_none($variables)

Theme the label for the empty value for options that are not required. The default theme will display N/A for a radio list and blank for a select.

Code

modules/field/modules/options/options.module, line 371

<?php
function theme_options_none($variables) {
  $instance = $variables['instance'];
  switch ($instance['widget']['type']) {
    case 'options_buttons':
      return t('N/A');
    case 'options_select':
      return t('- None -');
    default :
      return '';
  }
}
?>