You are here

function mvf_mvf_get_display_modes_single in Measured Value Field 6

Implementation of hook_mvf_get_display_modes_single().

Obtain display modes for MVF fields containing single value.

File

./mvf.module, line 320
Measured Value Field module.

Code

function mvf_mvf_get_display_modes_single() {
  return array(
    's|f' => t('Symbol + Value'),
    's|+|f' => t('Symbol + Space + Value'),
    'f|s' => t('Value + Symbol'),
    'f|+|s' => t('Value + Space + Symbol'),
    's|f|+|u' => t('Symbol + Value + Space + Unit Short Name'),
    's|+|f|+|u' => t('Symbol + Space + Value + Space + Unit Short Name'),
    'f|+|u' => t('Value + Space + Unit Short Name'),
    'u|+|f' => t('Unit Short Name + Space + Value'),
    'u|+|f|s' => t('Unit Short Name + Space + Value + Symbol'),
    'u|+|f|+|s' => t('Unit Short Name + Space + Value + Space + Symbol'),
  );
}