function feeds_tamper_timetodate_form in Feeds Tamper 7
Same name and namespace in other branches
- 6 plugins/timetodate.inc \feeds_tamper_timetodate_form()
1 string reference to 'feeds_tamper_timetodate_form'
- timetodate.inc in plugins/
timetodate.inc
File
- plugins/
timetodate.inc, line 17
Code
function feeds_tamper_timetodate_form($importer, $element_key, $settings) {
$form = array();
$form['date_format'] = array(
'#type' => 'textfield',
'#title' => t('Date format'),
'#default_value' => isset($settings['date_format']) ? $settings['date_format'] : '',
'#description' => t('A user-defined php date format string like "m-d-Y H:i". See the <a href="@url">PHP manual</a> for available options.', array(
'@url' => 'http://www.php.net/manual/function.date.php',
)),
);
return $form;
}