You are here

function feeds_get_form in Feeds 8.2

Same name and namespace in other branches
  1. 6 includes/FeedsConfigurable.inc \feeds_get_form()
  2. 7.2 includes/FeedsConfigurable.inc \feeds_get_form()
  3. 7 includes/FeedsConfigurable.inc \feeds_get_form()

Config form wrapper. Use to render the configuration form of a FeedsConfigurable object.

Parameters

$configurable: FeedsConfigurable object.

$form_method: The form method that should be rendered.

Return value

Config form array if available. NULL otherwise.

1 call to feeds_get_form()
feeds_ui_edit_page in feeds_ui/feeds_ui.admin.inc
Edit feed configuration.

File

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

Code

function feeds_get_form($configurable, $form_method) {
  if (method_exists($configurable, $form_method)) {
    return drupal_get_form(get_class($configurable) . '_feeds_form', $configurable, $form_method);
  }
}