public function FeedsPlugin::sourceDefaults in Feeds 6
Same name and namespace in other branches
- 7.2 plugins/FeedsPlugin.inc \FeedsPlugin::sourceDefaults()
- 7 plugins/FeedsPlugin.inc \FeedsPlugin::sourceDefaults()
Implementation of FeedsSourceInterface::sourceDefaults().
Overrides FeedsSourceInterface::sourceDefaults
1 call to FeedsPlugin::sourceDefaults()
- FeedsPlugin::__construct in plugins/
FeedsPlugin.inc - Constructor.
1 method overrides FeedsPlugin::sourceDefaults()
- FeedsCSVParser::sourceDefaults in plugins/
FeedsCSVParser.inc - Define defaults.
File
- plugins/
FeedsPlugin.inc, line 47 - Definition of FeedsPlugin class.
Class
- FeedsPlugin
- Implement source interface for all plugins.
Code
public function sourceDefaults() {
$values = array_flip(array_keys($this
->sourceForm(array())));
foreach ($values as $k => $v) {
$values[$k] = '';
}
return $values;
}