function feeds_get_form in Feeds 7.2
Same name and namespace in other branches
- 8.2 feeds.module \feeds_get_form()
- 6 includes/FeedsConfigurable.inc \feeds_get_form()
- 7 includes/FeedsConfigurable.inc \feeds_get_form()
FeedsConfigurable config form wrapper.
Used to render the configuration form of a FeedsConfigurable object.
Parameters
FeedsConfigurable $configurable: The FeedsConfigurable instance for which a configuration form must be rendered.
string $form_method: The form method that should be rendered.
Return value
array|null 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
- includes/
FeedsConfigurable.inc, line 336 - FeedsConfigurable and helper functions.
Code
function feeds_get_form(FeedsConfigurable $configurable, $form_method) {
if (method_exists($configurable, $form_method)) {
return drupal_get_form(get_class($configurable) . '_feeds_form', $configurable, $form_method);
}
}