We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 095c434 commit 84ccd7fCopy full SHA for 84ccd7f
app/code/Magento/CatalogImportExport/Model/Import/Product/LinkProcessor.php
@@ -21,15 +21,10 @@
21
class LinkProcessor
22
{
23
/**
24
- * Links attribute name-to-link type ID.
25
- * TODO: inject via DI
26
* @var array
27
*/
28
- protected $_linkNameToId = [
29
- '_related_' => \Magento\Catalog\Model\Product\Link::LINK_TYPE_RELATED,
30
- '_crosssell_' => \Magento\Catalog\Model\Product\Link::LINK_TYPE_CROSSSELL,
31
- '_upsell_' => \Magento\Catalog\Model\Product\Link::LINK_TYPE_UPSELL,
32
- ];
+ private $_linkNameToId;
+
33
34
35
0 commit comments