public function AssetFeedsProcessor::configDefaults in Asset 7
Override parent::configDefaults().
File
- modules/
asset_feeds/ AssetFeedsProcessor.inc, line 118 - Class definition of AssetFeedsProcessor.
Class
- AssetFeedsProcessor
- Creates assets from feed items.
Code
public function configDefaults() {
$types = assets_get_types();
$type = '';
if (!empty($types)) {
$type = key($types);
}
return array(
'asset_type' => $type,
'expire' => FEEDS_EXPIRE_NEVER,
'author' => 0,
) + parent::configDefaults();
}