You are here

function icon_field_feeds_form_callback in Icon API 7

Same name and namespace in other branches
  1. 8 modules/icon_field/icon_field.feeds.inc \icon_field_feeds_form_callback()

Callback to return the summary form for the icon mapping.

1 string reference to 'icon_field_feeds_form_callback'
icon_field_feeds_processor_targets_alter in modules/icon_field/icon_field.feeds.inc
Implements hook_feeds_processor_targets_alter().

File

modules/icon_field/icon_field.feeds.inc, line 40
icon_field.feeds.inc Feeds mapping implementation for the Icon Field module.

Code

function icon_field_feeds_form_callback($mapping, $target, $form, $form_state) {
  $form = array();
  $form['icon_bundle'] = array(
    '#type' => 'select',
    '#title' => t('Icon Bundle'),
    '#options' => _icon_field_get_bundle_options(),
    '#default_value' => !empty($mapping['icon_bundle']) ? $mapping['icon_bundle'] : 'lullacons_pack1',
  );
  return $form;
}