function taxonomy_feeds_summary_callback in Feeds 7.2
Same name and namespace in other branches
- 8.2 mappers/taxonomy.inc \taxonomy_feeds_summary_callback()
Mapping configuration summary for taxonomy.module.
1 string reference to 'taxonomy_feeds_summary_callback'
- taxonomy_feeds_processor_targets in mappers/
taxonomy.inc - Implements hook_feeds_processor_targets().
File
- mappers/
taxonomy.inc, line 282 - On behalf implementation of Feeds mapping API for taxonomy.module.
Code
function taxonomy_feeds_summary_callback(array $mapping, $target, array $form, array $form_state) {
$options = _taxonomy_feeds_form_callback_options();
if (empty($mapping['term_search'])) {
return t('Search taxonomy terms by: <strong>@search</strong>', array(
'@search' => $options[FEEDS_TAXONOMY_SEARCH_TERM_NAME],
));
}
return t('Search taxonomy terms by: <strong>@search</strong>', array(
'@search' => $options[$mapping['term_search']],
));
}