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-widget
Model
ResourceModel
Layout
Plugin.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Widget\Model\ResourceModel\Layout
;
7
11
class
Plugin
12
{
16
private
$update;
17
21
public
function
__construct
(
22
\
Magento
\
Widget
\Model\
ResourceModel
\Layout\
Update
$update
23
) {
24
$this->update = $update;
25
}
26
36
public
function
aroundGetDbUpdateString
(
37
\
Magento
\Framework\View\Model\Layout\Merge $subject,
38
\Closure $proceed,
39
$handle
40
) {
41
return
$this->update->fetchUpdatesByHandle(
$handle
, $subject->getTheme(), $subject->getScope());
42
}
43
}
Magento\Catalog\Model\ResourceModel\Product
Definition:
CollectionTest.php:6
Magento\Widget\Model\ResourceModel\Layout\Update
Definition:
Update.php:12
Magento\Widget\Model\ResourceModel\Widget
Definition:
Widget.php:14
Magento\Widget\Model\ResourceModel\Layout\Plugin
Definition:
Plugin.php:11
Magento\Widget\Model\ResourceModel\Layout
Definition:
UpdateTest.php:6
Magento\Widget\Model\ResourceModel\Layout\Plugin\aroundGetDbUpdateString
aroundGetDbUpdateString(\Magento\Framework\View\Model\Layout\Merge $subject, \Closure $proceed, $handle)
Definition:
Plugin.php:36
Magento
Magento\Widget\Model\ResourceModel\Layout\Plugin\__construct
__construct(\Magento\Widget\Model\ResourceModel\Layout\Update $update)
Definition:
Plugin.php:21
$handle
$handle
Definition:
payment_enc_cc.php:26