You are here

function feeds_imagegrabber_admin in Feeds Image Grabber 6

Same name and namespace in other branches
  1. 7 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
Implementation of hook_menu().

File

./feeds_imagegrabber.module, line 280
Grabs image for each feed-item from their respective web pages and stores it in an image field. Requires Feeds module.

Code

function feeds_imagegrabber_admin(&$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);
}