You are here

Mapping API in Feeds 8.2

Same name and namespace in other branches
  1. 6 feeds.api.php \mappingapi
  2. 7.2 feeds.api.php \mappingapi
  3. 7 feeds.api.php \mappingapi

File

./feeds.api.php, line 206
Documentation of Feeds hooks.

Functions

Namesort descending Location Description
FeedsParser::getMappingSources lib/Drupal/feeds/Plugin/FeedsParser.php Declare the possible mapping sources that this parser produces.
FeedsParser::getSourceElement lib/Drupal/feeds/Plugin/FeedsParser.php Get an element identified by $element_key of the given item. The element key corresponds to the values in the array returned by FeedsParser::getMappingSources().
FeedsProcessor::existingEntityId lib/Drupal/feeds/Plugin/FeedsProcessor.php Retrieve the target entity's existing id if available. Otherwise return 0.
FeedsProcessor::getMappingTargets lib/Drupal/feeds/Plugin/FeedsProcessor.php Declare possible mapping targets that this processor exposes.
FeedsProcessor::map lib/Drupal/feeds/Plugin/FeedsProcessor.php Execute mapping on an item.
FeedsProcessor::setTargetElement lib/Drupal/feeds/Plugin/FeedsProcessor.php Set a concrete target element. Invoked from FeedsProcessor::map().
hook_feeds_parser_sources_alter ./feeds.api.php Alter mapping sources.
hook_feeds_processor_targets_alter ./feeds.api.php Alter mapping targets for entities. Use this hook to add additional target options to the mapping form of Node processors.
my_module_form_callback ./feeds.api.php Example of the form_callback specified in hook_feeds_processor_targets_alter().
my_module_set_target ./feeds.api.php Example callback specified in hook_feeds_processor_targets_alter().
my_module_summary_callback ./feeds.api.php Example of the summary_callback specified in hook_feeds_processor_targets_alter().
my_source_get_source ./feeds.api.php Example callback specified in hook_feeds_parser_sources_alter().