Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
return [' $replaceRules'=> [['table', 'field', \Magento\Framework\Module\Setup\Migration::ENTITY_TYPE_MODEL, \Magento\Framework\Module\Setup\Migration::FIELD_CONTENT_TYPE_SERIALIZED,],], ' $tableData'=> [['field'=> '{"max_text_length":255,"min_text_length":1}'], ['field'=> '{"model":"some random text"}'],], ' $expected'=> ['updates'=> [['table'=> 'table', 'field'=> 'field', 'to'=> '{"model":"Magento\\CatalogRule\\Model\\Rule\\Condition\\Combine"}', 'from'=> ['`field`=?'=> '{"model":"catalogrule\/rule_condition_combine"}'],],], 'aliases_map'=> [\Magento\Framework\Module\Setup\Migration::ENTITY_TYPE_MODEL=> ['catalogrule/rule_condition_combine'=> 'Magento\CatalogRule\Model\Rule\Condition\Combine',],],]] | |
return[ ' $replaceRules'=> [ [ 'table', 'field', \Magento\Framework\Module\Setup\Migration::ENTITY_TYPE_MODEL, \Magento\Framework\Module\Setup\Migration::FIELD_CONTENT_TYPE_SERIALIZED,],], ' $tableData'=> [ [ 'field'=> '{"max_text_length":255,"min_text_length":1}'], [ 'field'=> '{"model":"some random text"}'],], ' $expected'=> [ 'updates'=> [ [ 'table'=> 'table', 'field'=> 'field', 'to'=> '{"model":"Magento\\CatalogRule\\Model\\Rule\\Condition\\Combine"}', 'from'=> ['`field`=?'=> '{"model":"catalogrule\/rule_condition_combine"}'],],], 'aliases_map'=> [ \Magento\Framework\Module\Setup\Migration::ENTITY_TYPE_MODEL=> [ 'catalogrule/rule_condition_combine'=> 'Magento\CatalogRule\Model\Rule\Condition\Combine',],],]] |
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.
Definition at line 35 of file data_content_serialized.php.