function feed_import_edit_feed_form_validate in Feed Import 7
Same name and namespace in other branches
- 7.3 feed_import.module \feed_import_edit_feed_form_validate()
- 7.2 feed_import.module \feed_import_edit_feed_form_validate()
Edit feed form validate
File
- ./
feed_import.module, line 953 - User interface, cron functions for feed_import module
Code
function feed_import_edit_feed_form_validate($form, &$form_state) {
// Cancel button pressed
$but = isset($form_state['clicked_button']['#parents'][0]) ? $form_state['clicked_button']['#parents'][0] : '';
if ($but == 'cancel') {
drupal_goto(FEED_IMPORT_PATH);
}
}