function theme_petreference_none in Previewable email templates 6
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.
1 theme call to theme_petreference_none()
- petreference_allowed_values in modules/
petreference/ petreference.module - Implementation of hook_allowed_values().
File
- modules/
petreference/ petreference.module, line 981 - Defines a field type for referencing pet template to a node.
Code
function theme_petreference_none($field) {
switch ($field['widget']['type']) {
case 'petreference_buttons':
return t('N/A');
case 'petreference_select':
return t('- None -');
default:
return '';
}
}