You are here

function _icon_field_get_bundle_options in Icon API 8

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

Get the bundle options form options.

2 calls to _icon_field_get_bundle_options()
icon_field_feeds_form_callback in modules/icon_field/icon_field.feeds.inc
Callback to return the summary form for the icon mapping.
icon_field_feeds_summary_callback in modules/icon_field/icon_field.feeds.inc
Callback to return the settings for the icon mapping.

File

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

Code

function _icon_field_get_bundle_options() {
  $options = array();
  foreach (icon_bundles() as $name => $bundle) {
    $options[$name] = $bundle['title'];
  }
  return $options;
}