function mvf_mvf_get_display_modes_range in Measured Value Field 6
Implementation of hook_mvf_get_display_modes_range().
Obtain display modes for MVF fields containing range of values.
File
- ./
mvf.module, line 340 - Measured Value Field module.
Code
function mvf_mvf_get_display_modes_range() {
return array(
's|f|-|t' => t('Symbol + "From" value + Space + Hyphen + Space + "To" value'),
's|+|f|-|t' => t('Symbol + Space + "From" value + Space + Hyphen + Space + "To" value'),
'f|-|t|s' => t('"From" value + Space + Hyphen + Space + "To" value + Symbol'),
'f|-|t|+|s' => t('"From" value + Space + Hyphen + Space + "To" value + Space + Symbol'),
's|f|-|t|+|u' => t('Symbol + "From" value + Space + Hyphen + Space + "To" value + Space + Unit Short Name'),
's|+|f|-|t|+|u' => t('Symbol + Space + "From" value + Space + Hyphen + Space + "To" value + Space + Unit Short Name'),
'f|-|t|+|u' => t('"From" value + Space + Hyphen + Space + "To" value + Space + Unit Short Name'),
'u|+|f|-|t' => t('Unit Short Name + Space + "From" value + Space + Hyphen + Space + "To" value'),
'u|+|f|-|t|s' => t('Unit Short Name + Space + "From" value + Space + Hyphen + Space + "To" value + Symbol'),
'u|+|f|-|t|+|s' => t('Unit Short Name + Space + "From" value + Space + Hyphen + Space + "To" value + Space + Symbol'),
);
}