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

Go to the source code of this file.

Variables

 $dataObjectHelper = Bootstrap::getObjectManager()->get(DataObjectHelper::class)
 
 $sourceItemFactory = Bootstrap::getObjectManager()->get(SourceItemInterfaceFactory::class)
 
 $sourceItemsSave = Bootstrap::getObjectManager()->get(SourceItemsSaveInterface::class)
 
 $sourcesItemsData
 
 $sourceItems = []
 

Variable Documentation

◆ $dataObjectHelper

$dataObjectHelper = Bootstrap::getObjectManager()->get(DataObjectHelper::class)

Definition at line 15 of file source_items_configurable.php.

◆ $sourceItemFactory

$sourceItemFactory = Bootstrap::getObjectManager()->get(SourceItemInterfaceFactory::class)

Definition at line 17 of file source_items_configurable.php.

◆ $sourceItems

$sourceItems = []

Definition at line 37 of file source_items_configurable.php.

◆ $sourceItemsSave

$sourceItemsSave = Bootstrap::getObjectManager()->get(SourceItemsSaveInterface::class)

Definition at line 19 of file source_items_configurable.php.

◆ $sourcesItemsData

$sourcesItemsData
Initial value:
= [
[
SourceItemInterface::SOURCE_CODE => 'us-1',
SourceItemInterface::SKU => 'simple_10',
SourceItemInterface::QUANTITY => 100,
SourceItemInterface::STATUS => SourceItemInterface::STATUS_IN_STOCK,
],
[
SourceItemInterface::SOURCE_CODE => 'us-1',
SourceItemInterface::SKU => 'simple_20',
SourceItemInterface::QUANTITY => 100,
SourceItemInterface::STATUS => SourceItemInterface::STATUS_IN_STOCK,
],
]

Definition at line 21 of file source_items_configurable.php.