Skip to content
Snippets Groups Projects
Commit 1dba414b authored by megachriz's avatar megachriz Committed by MegaChriz
Browse files

Issue #2584157 by MegaChriz: fixed missing mapping targets in the UI for contrib processors.

parent 1160db98
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,11 @@ function feeds_feeds_processor_targets($entity_type, $bundle) { ...@@ -23,6 +23,11 @@ function feeds_feeds_processor_targets($entity_type, $bundle) {
function feeds_feeds_processor_targets_alter(array &$targets, $entity_type, $bundle) { function feeds_feeds_processor_targets_alter(array &$targets, $entity_type, $bundle) {
// This hook gets called last, so that we normalize the whole array. // This hook gets called last, so that we normalize the whole array.
feeds_normalize_targets($targets); feeds_normalize_targets($targets);
// Since a hook can be invoked multiple times during a request, reset the
// "feeds_feeds_processor_targets" variable.
// @see _feeds_feeds_processor_targets_alter()
drupal_static_reset('feeds_feeds_processor_targets');
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment