Skip to content
Snippets Groups Projects
Commit 5072e10f authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Use bundle() method.

parent 25fed579
No related branches found
No related tags found
No related merge requests found
......@@ -52,8 +52,7 @@ function feeds_rules_event_info() {
);
// Add bundle information if the node processor is used.
if ($processor instanceof FeedsNodeProcessor) {
$config = $processor->getConfig();
$info['feeds_import_'. $importer->id]['variables'][$entity_type]['bundle'] = $config['bundle'];
$info['feeds_import_'. $importer->id]['variables'][$entity_type]['bundle'] = $processor->bundle();
}
}
return $info;
......
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