Commit 3409b5df authored by benji's avatar benji Committed by John Fiala
Browse files

Issue #1930430 by benjifisher: Fixed Migration integration misses title...

Issue #1930430 by benjifisher: Fixed Migration integration misses title attribute for mutiple-valued link fields.
parent 994db97d
......@@ -97,7 +97,12 @@ class MigrateLinkFieldHandler extends MigrateFieldHandler {
}
}
if (isset($arguments['attributes'])) {
$item['attributes'] = $arguments['attributes'];
if (is_array($arguments['attributes']) && isset($arguments['attributes'][$delta])) {
$item['attributes'] = $arguments['attributes'][$delta];
}
else {
$item['attributes'] = $arguments['attributes'];
}
}
$item['url'] = $value;
$return[$language][$delta] = $item;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment