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
module-customer
view
frontend
templates
js
customer-data
invalidation-rules.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
/* @var $block \Magento\Customer\Block\CustomerScopeData */
9
?>
10
<script type=
"text/x-magento-init"
>
11
<?=
/* @noEscape */
$block
->encodeConfiguration([
12
'*'
=> [
'Magento_Customer/js/invalidation-processor'
=> [
13
'invalidationRules'
=> [
14
'website-rule'
=> [
15
'Magento_Customer/js/invalidation-rules/website-rule'
=> [
16
'scopeConfig'
=> [
17
'websiteId'
=>
$block
->getWebsiteId(),
18
]
19
]
20
]
21
]
22
]],
23
]);
24
?>
25
</script>
$block
$block
Definition:
block.php:8