function feeds_format_expire in Feeds 6
Same name and namespace in other branches
- 8.2 feeds.module \feeds_format_expire()
- 7.2 includes/FeedsImporter.inc \feeds_format_expire()
- 7 includes/FeedsImporter.inc \feeds_format_expire()
Helper, see FeedsDataProcessor class.
2 string references to 'feeds_format_expire'
- FeedsDataProcessor::configForm in plugins/
FeedsDataProcessor.inc - Override parent::configForm().
- FeedsNodeProcessor::configForm in plugins/
FeedsNodeProcessor.inc - Override parent::configForm().
File
- includes/
FeedsImporter.inc, line 287 - FeedsImporter class and related.
Code
function feeds_format_expire($timestamp) {
if ($timestamp == FEEDS_EXPIRE_NEVER) {
return t('Never');
}
return t('after !time', array(
'!time' => format_interval($timestamp),
));
}