Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
All Data Structures Namespaces Files Functions Variables Pages
Variables
mview_config.php File Reference

Go to the source code of this file.

Variables

 return ['inputXML'=> '<?xml version="1.0" encoding="UTF-8"?>< config >' . '< view id="view_one" class="Ogogo\Class\One" group="some_view_group"><!--comment-->' . '< subscriptions >< table name="some_entity" entity_column="entity_id"/>' . '< table name="some_product_relation" entity_column="product_id"/>< nottable/>' . '<!--comment--></subscriptions ></view ></config >', 'expected'=> ['view_one'=> ['view_id'=> 'view_one', 'action_class'=> 'Ogogo\Class\One', 'group'=> 'some_view_group', 'subscriptions'=> ['some_entity'=> ['name'=> 'some_entity', 'column'=> 'entity_id', 'subscription_model'=> null], 'some_product_relation'=> ['name'=> 'some_product_relation', 'column'=> 'product_id', 'subscription_model'=> null],],],]]
 

Variable Documentation

◆ return

return[ 'inputXML'=> '<?xml version="1.0" encoding="UTF-8"?>< config >' . '< view id="view_one" class="Ogogo\Class\One" group="some_view_group"><!--comment-->' . '< subscriptions >< table name="some_entity" entity_column="entity_id"/>' . '< table name="some_product_relation" entity_column="product_id"/>< nottable/>' . '<!--comment--></subscriptions ></view ></config >', 'expected'=> [ 'view_one'=> [ 'view_id'=> 'view_one', 'action_class'=> 'Ogogo\Class\One', 'group'=> 'some_view_group', 'subscriptions'=> [ 'some_entity'=> [ 'name'=> 'some_entity', 'column'=> 'entity_id', 'subscription_model'=> null], 'some_product_relation'=> [ 'name'=> 'some_product_relation', 'column'=> 'product_id', 'subscription_model'=> null],],],]]

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 31 of file mview_config.php.