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

Use bundle method.

parent a1cdee64
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ class FeedsTermProcessor extends FeedsProcessor {
try {
self::loadMappers();
$entity_type = $this->entityType();
$bundle = $this->vocabulary()->machine_name;
$bundle = $this->bundle();
drupal_alter('feeds_processor_targets', $targets, $entity_type, $bundle);
}
catch (Exception $e) {
......
......@@ -196,7 +196,7 @@ class FeedsUserProcessor extends FeedsProcessor {
// Let other modules expose mapping targets.
self::loadMappers();
$entity_type = $this->entityType();
$bundle = $this->entityType();
$bundle = $this->bundle();
drupal_alter('feeds_processor_targets', $targets, $entity_type, $bundle);
return $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