You are here

function feeds_forms in Feeds 6

Same name and namespace in other branches
  1. 8.2 feeds.module \feeds_forms()
  2. 7.2 feeds.module \feeds_forms()
  3. 7 feeds.module \feeds_forms()

Implementation of hook_forms().

Declare form callbacks for all known classes derived from FeedsConfigurable.

Related topics

File

./feeds.module, line 143
Feeds - basic API functions and hook implementations.

Code

function feeds_forms() {
  $forms = array();
  $forms['FeedsImporter_feeds_form']['callback'] = 'feeds_form';
  $plugins = feeds_get_plugins();
  foreach ($plugins as $plugin) {
    $forms[$plugin['handler']['class'] . '_feeds_form']['callback'] = 'feeds_form';
  }
  return $forms;
}