Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() | |
$installer = Bootstrap::getObjectManager()->create(\Magento\Catalog\Setup\CategorySetup::class) | |
$data | |
$optionsPerAttribute = 3 | |
$data ['swatch_input_type'] = 'visual' | |
$data ['swatchvisual']['value'] | |
$data ['optionvisual']['value'] | |
$data ['options']['option'] | |
$options = [] | |
foreach($data['options']['option'] as $optionData) | $attribute |
$eavConfig = Bootstrap::getObjectManager()->get(\Magento\Eav\Model\Config::class) | |
$product = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Product::class) | |
$category = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Category::class) | |
$indexerCollection = Bootstrap::getObjectManager()->get(\Magento\Indexer\Model\Indexer\Collection::class) | |
$attribute |
Definition at line 82 of file products_with_layered_navigation_swatch.php.
$category = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Category::class) |
Definition at line 176 of file products_with_layered_navigation_swatch.php.
$data |
Definition at line 16 of file products_with_layered_navigation_swatch.php.
$data[ 'swatch_input_type'] = 'visual' |
Definition at line 41 of file products_with_layered_navigation_swatch.php.
$data[ 'swatchvisual'][ 'value'] |
Definition at line 42 of file products_with_layered_navigation_swatch.php.
$data[ 'optionvisual'][ 'value'] |
Definition at line 54 of file products_with_layered_navigation_swatch.php.
$data[ 'options'][ 'option'] |
Definition at line 63 of file products_with_layered_navigation_swatch.php.
$eavConfig = Bootstrap::getObjectManager()->get(\Magento\Eav\Model\Config::class) |
Definition at line 93 of file products_with_layered_navigation_swatch.php.
$indexerCollection = Bootstrap::getObjectManager()->get(\Magento\Indexer\Model\Indexer\Collection::class) |
Definition at line 203 of file products_with_layered_navigation_swatch.php.
$installer = Bootstrap::getObjectManager()->create(\Magento\Catalog\Setup\CategorySetup::class) |
Definition at line 14 of file products_with_layered_navigation_swatch.php.
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() |
Definition at line 12 of file products_with_layered_navigation_swatch.php.
$options = [] |
Definition at line 75 of file products_with_layered_navigation_swatch.php.
$optionsPerAttribute = 3 |
Definition at line 39 of file products_with_layered_navigation_swatch.php.
$product = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Product::class) |
Definition at line 106 of file products_with_layered_navigation_swatch.php.