You are here

function mvf_feeds_unit_notation_summary_callback in Measured Value Field 7

Summary callback for unit notation of MVF mapper.

1 string reference to 'mvf_feeds_unit_notation_summary_callback'
mvf_feeds_processor_targets in ./mvf.feeds.inc
Implements hook_feeds_processor_targets().

File

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

Code

function mvf_feeds_unit_notation_summary_callback(array $mapping, $target, array $form, array $form_state) {
  if (isset($mapping['unit_notation'])) {
    $options = mvf_feeds_mapper_unit_notation_options();
    return t('Units denoted through @unit_notation', array(
      '@unit_notation' => $options[$mapping['unit_notation']],
    ));
  }
  return t('Unit notation pending set up');
}