function feeds_imagegrabber_get_default_settings in Feeds Image Grabber 6
Same name and namespace in other branches
- 7 feeds_imagegrabber.module \feeds_imagegrabber_get_default_settings()
Retrieve the default settings for a feed node from the database.
Return value
An array of settings.
2 calls to feeds_imagegrabber_get_default_settings()
- feeds_imagegrabber_admin in ./
feeds_imagegrabber.module - Implementation of the default settings admin form.
- feeds_imagegrabber_form_alter in ./
feeds_imagegrabber.module - Implementation of hook_form_alter().
File
- ./
feeds_imagegrabber.module, line 265 - 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_get_default_settings() {
$default = array(
'enabled' => 0,
'id_class' => 0,
'id_class_desc' => '',
'exec_time' => 10,
'feeling_lucky' => 0,
);
return variable_get('feeds_imagegrabber', $default);
}