function feeds_tests_feeds_processor_targets_alter in Feeds 8.2
Same name and namespace in other branches
- 7.2 tests/feeds_tests.module \feeds_tests_feeds_processor_targets_alter()
Implements hook_feeds_processor_targets_alter().
File
- tests/
feeds_tests.module, line 110 - Helper module for Feeds tests.
Code
function feeds_tests_feeds_processor_targets_alter(&$targets, $entity_type, $bundle_name) {
$targets['test_target'] = array(
'name' => t('Test Target'),
'description' => t('This is a test target.'),
'callback' => 'feeds_tests_mapper_set_target',
'summary_callback' => 'feeds_tests_mapper_summary',
'form_callback' => 'feeds_tests_mapper_form',
);
}