You are here

function feeds_importer_list in Feeds 7.2

List callback for selecting a Feeds importer.

1 string reference to 'feeds_importer_list'
feeds_rules_action_info in ./feeds.rules.inc
Implements hook_rules_action_info().

File

./feeds.rules.inc, line 172
Rules integration.

Code

function feeds_importer_list() {
  $list = array();
  ctools_include('export');
  $configs = ctools_export_load_object('feeds_importer', 'all');
  foreach ($configs as $id => $config) {
    if (empty($config->disabled)) {
      $list[$id] = $config->config['name'];
    }
  }
  return $list;
}