Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
Mview
Test
Unit
_files
mview_config.php
Go to the documentation of this file.
1
<?php
6
return
[
7
'inputXML'
=>
'<?xml version="1.0" encoding="UTF-8"?><config>'
8
.
'<view id="view_one" class="Ogogo\Class\One" group="some_view_group"><!--comment-->'
9
.
'<subscriptions><table name="some_entity" entity_column="entity_id" />'
10
.
'<table name="some_product_relation" entity_column="product_id" /><nottable/>'
11
.
'<!--comment--></subscriptions></view></config>'
,
12
'expected'
=> [
13
'view_one'
=> [
14
'view_id'
=>
'view_one'
,
15
'action_class'
=>
'Ogogo\Class\One'
,
16
'group'
=>
'some_view_group'
,
17
'subscriptions'
=> [
18
'some_entity'
=> [
19
'name'
=>
'some_entity'
,
20
'column'
=>
'entity_id'
,
21
'subscription_model'
=> null
22
],
23
'some_product_relation'
=> [
24
'name'
=>
'some_product_relation'
,
25
'column'
=>
'product_id'
,
26
'subscription_model'
=> null
27
],
28
],
29
],
30
]
31
];