function feeds_ui_plugin_form_submit in Feeds 7
Same name and namespace in other branches
- 8.2 feeds_ui/feeds_ui.admin.inc \feeds_ui_plugin_form_submit()
- 6 feeds_ui/feeds_ui.admin.inc \feeds_ui_plugin_form_submit()
- 7.2 feeds_ui/feeds_ui.admin.inc \feeds_ui_plugin_form_submit()
Submit handler for feeds_ui_plugin_form().
File
- feeds_ui/
feeds_ui.admin.inc, line 443 - Contains all page callbacks, forms and theming functions for Feeds administrative pages.
Code
function feeds_ui_plugin_form_submit($form, &$form_state) {
// Set the plugin and save feed.
$form['#importer']
->setPlugin($form_state['values']['plugin_key']);
$form['#importer']
->save();
drupal_set_message(t('Changed !type plugin.', array(
'!type' => $form['#plugin_type'],
)));
}