function feeds_imagegrabber_admin in Feeds Image Grabber 7
Same name and namespace in other branches
- 6 feeds_imagegrabber.module \feeds_imagegrabber_admin()
Implementation of the default settings admin form.
1 string reference to 'feeds_imagegrabber_admin'
- feeds_imagegrabber_menu in ./
feeds_imagegrabber.module - Implements hook_menu().
File
- ./
feeds_imagegrabber.module, line 288 - Grabs images for items imported using the feeds module.
Code
function feeds_imagegrabber_admin($form, &$form_state) {
$form = array();
$settings = feeds_imagegrabber_get_default_settings();
$form['feeds_imagegrabber'] = array(
'#type' => 'fieldset',
'#title' => t('Default Settings'),
'#tree' => TRUE,
'#collapsible' => FALSE,
);
feeds_imagegrabber_form($form, $settings);
$form['#validate'][] = 'feeds_imagegrabber_form_validate';
return system_settings_form($form);
}