Метод | Описание | |
---|---|---|
__construct ( Magento\Eav\Setup\EavSetupFactory $eavSetupFactory ) | Class Constructor | |
upgrade ( Magento\Framework\Setup\ModuleDataSetupInterface $setup, Magento\Framework\Setup\ModuleContextInterface $context ) : void | Upgrade the module data. |
Метод | Описание | |
---|---|---|
updateVirtualCategoryRootTypeToInt ( Magento\Framework\Setup\ModuleDataSetupInterface $setup ) | Migration from 1.0.0 to 1.1.0 : - Updating the attribute virtual_category_root from type varchar to type int - Updating the value of the attribute from 'category/13' to '13. |
public __construct ( Magento\Eav\Setup\EavSetupFactory $eavSetupFactory ) | ||
$eavSetupFactory | Magento\Eav\Setup\EavSetupFactory | Eav setup factory. |
public upgrade ( Magento\Framework\Setup\ModuleDataSetupInterface $setup, Magento\Framework\Setup\ModuleContextInterface $context ) : void | ||
$setup | Magento\Framework\Setup\ModuleDataSetupInterface | The setup interface |
$context | Magento\Framework\Setup\ModuleContextInterface | The module Context |
Результат | void |