Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
stock_source_links_rollback.php File Reference

Go to the source code of this file.

Variables

 $stockSourceLinkFactory = Bootstrap::getObjectManager()->get(StockSourceLinkInterfaceFactory::class)
 
 $stockSourceLinksDelete = Bootstrap::getObjectManager()->get(StockSourceLinksDeleteInterface::class)
 
 $linksData
 
 $links = []
 

Variable Documentation

◆ $links

$links = []

Definition at line 42 of file stock_source_links_rollback.php.

◆ $linksData

$linksData
Initial value:
= [
10 => ['eu-1', 'eu-2', 'eu-3', 'eu-disabled'],
20 => ['us-1'],
30 => ['eu-1', 'eu-2', 'eu-3', 'eu-disabled', 'us-1']
]

EU-source-1(code:eu-1) - EU-stock(id:10) EU-source-2(code:eu-2) - EU-stock(id:10) EU-source-3(code:eu-3) - EU-stock(id:10) EU-source-disabled(code:eu-disabled) - EU-stock(id:10)

US-source-1(code:us-1) - US-stock(id:20)

EU-source-1(code:eu-1) - Global-stock(id:30) EU-source-2(code:eu-2) - Global-stock(id:30) EU-source-2(code:eu-2) - Global-stock(id:30) EU-source-disabled(code:eu-disabled) - Global-stock(id:30) US-source-1(code:us-1) - Global-stock(id:30)$stock ID => list of source codes

Definition at line 36 of file stock_source_links_rollback.php.

◆ $stockSourceLinkFactory

$stockSourceLinkFactory = Bootstrap::getObjectManager()->get(StockSourceLinkInterfaceFactory::class)

Definition at line 14 of file stock_source_links_rollback.php.

◆ $stockSourceLinksDelete

$stockSourceLinksDelete = Bootstrap::getObjectManager()->get(StockSourceLinksDeleteInterface::class)

Definition at line 16 of file stock_source_links_rollback.php.