ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
$variable = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(
|
||||
\Magento\Variable\Model\Variable::class
|
||||
);
|
||||
$variable->setCode(
|
||||
'variable_code'
|
||||
)->setName(
|
||||
'Variable Name'
|
||||
)->setPlainValue(
|
||||
'Plain Value'
|
||||
)->setHtmlValue(
|
||||
'HTML Value'
|
||||
)->save();
|
||||
Reference in New Issue
Block a user