Skip to content

Commit 5f536a1

Browse files
Merge pull request #2 from ankith-codilar/issue-1000
#1000 adding param in constructor so that the data is passed to par…
2 parents 479508e + 7aac932 commit 5f536a1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"magento/framework": "*",
10-
"scandipwa/locale": "^1",
10+
"scandipwa/locale": "^1.2",
1111
"magento/module-config": "*",
1212
"magento/module-cms": "*",
1313
"magento/module-eav": "*",

src/View/Result/Page.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ class Page extends LocalePage
7474
* @param bool $isIsolated
7575
* @param EntitySpecificHandlesList|null $entitySpecificHandlesList
7676
* @param null $action
77+
* @param array $rootTemplatePool
7778
*/
7879
public function __construct(
7980
StoreManagerInterface $storeManager,
@@ -91,7 +92,8 @@ public function __construct(
9192
AppIcon $appIcon,
9293
$isIsolated = false,
9394
EntitySpecificHandlesList $entitySpecificHandlesList = null,
94-
$action = null
95+
$action = null,
96+
$rootTemplatePool = []
9597
) {
9698
$this->scopeConfig = $context->getScopeConfig();
9799
$this->storeManager = $storeManager;
@@ -111,7 +113,8 @@ public function __construct(
111113
$template,
112114
$isIsolated,
113115
$entitySpecificHandlesList,
114-
$action
116+
$action,
117+
$rootTemplatePool
115118
);
116119
}
117120

0 commit comments

Comments
 (0)