public function FeedsCSVParser::configForm in Feeds 7
Same name and namespace in other branches
- 6 plugins/FeedsCSVParser.inc \FeedsCSVParser::configForm()
- 7.2 plugins/FeedsCSVParser.inc \FeedsCSVParser::configForm()
Build configuration form.
Overrides FeedsConfigurable::configForm
File
- plugins/
FeedsCSVParser.inc, line 141
Class
- FeedsCSVParser
- Parses a given file as a CSV file.
Code
public function configForm(&$form_state) {
$form = array();
$form['delimiter'] = array(
'#type' => 'select',
'#title' => t('Default delimiter'),
'#description' => t('Default field delimiter.'),
'#options' => array(
',' => ',',
';' => ';',
'TAB' => 'TAB',
),
'#default_value' => $this->config['delimiter'],
);
return $form;
}