function theme_options_none


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 options.module theme_options_none($variables)
cle7 options.module theme_options_none($variables)
elmsmedia7 options.module theme_options_none($variables)
icor7 options.module theme_options_none($variables)
meedjum_blog7 options.module theme_options_none($variables)
mooc7 options.module theme_options_none($variables)

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.


$variables: An associative array containing:

  • instance: An array representing the widget requesting the options.

Related topics

1 theme call to theme_options_none()
_options_get_options in modules/field/modules/options/options.module
Collects the options for a field.
3 string references to the theme hook from theme_options_none()

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.

devel_themer_catch_function in sites/all/modules/ulmus/devel_themer/devel_themer.module
Intercepts all theme calls (including templates), adds to template log, and dispatches to original theme function.
options_theme in modules/field/modules/options/options.module
Implements hook_theme().
_options_get_options in modules/field/modules/options/options.module
Collects the options for a field.


modules/field/modules/options/options.module, line 401
Defines selection, check box and radio button widgets for text and numeric fields.


function theme_options_none($variables) {
  $instance = $variables['instance'];
  $option = $variables['option'];

  $output = '';
  switch ($instance['widget']['type']) {
    case 'options_buttons':
      $output = t('N/A');

    case 'options_select':
      $output = ($option == 'option_none' ? t('- None -') : t('- Select a value -'));

  return $output;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.