public function FeedsExBase::sourceForm in Feeds extensible parsers 7
Same name and namespace in other branches
- 7.2 src/FeedsExBase.inc \FeedsExBase::sourceForm()
File
- src/
FeedsExBase.inc, line 662 - Contains FeedsExBase.
Class
- FeedsExBase
- The Feeds extensible parser.
Code
public function sourceForm($source_config) {
if (!$this
->hasSourceConfig()) {
return array();
}
$form_state = array();
$form = $this
->configForm($form_state);
$form['add']['machine_name']['#machine_name']['source'] = array(
'feeds',
get_class($this),
'add',
'name',
);
return $form;
}