By rooby on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x-2.x
Introduced in version:
7.x-2.0-beta5
Issue links:
Description:
The submit button on the feeds import form is now inside an actions wrapper.
If you alter the submit button on that form you will need to update your code accordingly.
This only affects the standalone import form. The import form appearing on a feed node already had its submit button inside an actions wrapper.
Before:
/**
* Implements hook_form_alter().
*/
function mymodule_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'feeds_import_form') {
$form['submit']['#value'] = t('Run importer');
}
}
After:
/**
* Implements hook_form_alter().
*/
function mymodule_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'feeds_import_form') {
$form['actions']['submit']['#value'] = t('Run importer');
}
}
Impacts:
Module developers
Themers