We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6545ff commit 93cd8cfCopy full SHA for 93cd8cf
app/code/Magento/Customer/view/frontend/templates/js/customer-data.phtml
@@ -6,9 +6,10 @@
6
7
/** @var \Magento\Customer\Block\CustomerData $block */
8
/** @var \Magento\Framework\Json\Helper\Data $jsonHelper */
9
-$jsonHelper = $block->getData('jsonHelper');
+$expirableSectionNames = $block->getExpirableSectionNames();
10
11
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundHelper
12
+$jsonHelper = $this->helper(\Magento\Framework\Json\Helper\Data::class);
13
?>
14
<script type="text/x-magento-init">
15
{
0 commit comments