You are here

function mvf_feeds_mapper_unit_notation_options in Measured Value Field 7

Supportive function for generating options of unit notation.

Return value

array Array of unit notation options. Keys are machine readable names of the options whereas values are human readable names

3 calls to mvf_feeds_mapper_unit_notation_options()
mvf_feeds_set_target in ./mvf.feeds.inc
MVF callback for mapping.
mvf_feeds_unit_notation_form_callback in ./mvf.feeds.inc
Form callback for specifying form of unit notation to MVF mapper.
mvf_feeds_unit_notation_summary_callback in ./mvf.feeds.inc
Summary callback for unit notation of MVF mapper.

File

./mvf.feeds.inc, line 196
Integration with Feeds of MVF module.

Code

function mvf_feeds_mapper_unit_notation_options() {
  return array(
    'umid' => t('Unit measure ID (umid)'),
    'label' => t('Unit label'),
    'symbol' => t('Symbol'),
    'machine_name' => t('Machine name'),
  );
}