function theme_content_taxonomy_options_widgets_none in Content Taxonomy 6
Same name and namespace in other branches
- 6.2 content_taxonomy_options.module \theme_content_taxonomy_options_widgets_none()
Theme the label for the empty value for options (for optional radios and single selects).
2 theme calls to theme_content_taxonomy_options_widgets_none()
- content_taxonomy_allowed_values in ./
content_taxonomy.module - Called by content_allowed_values to create the $options array for the content_taxonomy_options
- content_taxonomy_allowed_values_groups in ./
content_taxonomy.module - Creating Opt Groups for content_taxonomy_options
File
- ./
content_taxonomy_options.module, line 91 - Defines a widget type for content_taxonomy for options
Code
function theme_content_taxonomy_options_widgets_none($field) {
switch ($field['widget']['type']) {
case 'content_taxonomy_options':
return t('N/A');
case 'content_taxonomy_select':
return t('- None -');
default:
return '';
}
}