function feeds_form in Feeds 8.2
Same name and namespace in other branches
- 6 includes/FeedsConfigurable.inc \feeds_form()
- 7.2 includes/FeedsConfigurable.inc \feeds_form()
- 7 includes/FeedsConfigurable.inc \feeds_form()
Config form callback. Don't call directly, but use feeds_get_form($configurable, 'method') instead.
Parameters
FormAPI $form_state.:
FeedsConfigurable object.:
The object to perform the save() operation on.:
$form_method: The $form_method that should be rendered.
1 string reference to 'feeds_form'
- feeds_forms in ./
feeds.module - Implements hook_forms().
File
- ./
feeds.module, line 1258 - Feeds - basic API functions and hook implementations.
Code
function feeds_form($form, &$form_state, $configurable, $form_method) {
$form = $configurable
->{$form_method}($form_state);
$form['#configurable'] = $configurable;
$form['#feeds_form_method'] = $form_method;
$form['#validate'] = array(
'feeds_form_validate',
);
$form['#submit'] = array(
'feeds_form_submit',
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Save'),
'#weight' => 100,
);
return $form;
}