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-weee
Plugin
Ui
DataProvider
WeeeSettings.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Weee\Plugin\Ui\DataProvider
;
8
9
use
Magento\Framework\App\Config
;
10
14
class
WeeeSettings
15
{
19
private
$config;
20
25
public
function
__construct
(
Config
$config)
26
{
27
$this->config =
$config
;
28
}
29
38
public
function
afterGetData
(\
Magento
\Catalog\Ui\
DataProvider
\Product\Listing\
DataProvider
$subject,
$result
)
39
{
40
$result
[
'displayWeee'
] = $this->config
41
->getValue(\
Magento
\Weee\Model\Config::XML_PATH_FPT_DISPLAY_PRODUCT_LIST);
42
43
return
$result
;
44
}
45
}
$result
$result
Definition:
product_configurable_not_available_rollback.php:26
Magento\Framework\App\Config
Definition:
Base.php:9
$config
$config
Definition:
fraud_order.php:17
Magento\Weee\Plugin\Ui\DataProvider\WeeeSettings\afterGetData
afterGetData(\Magento\Catalog\Ui\DataProvider\Product\Listing\DataProvider $subject, $result)
Definition:
WeeeSettings.php:38
Magento
Magento\Weee\Plugin\Ui\DataProvider\WeeeSettings\__construct
__construct(Config $config)
Definition:
WeeeSettings.php:25
Magento\Weee\Plugin\Ui\DataProvider\WeeeSettings
Definition:
WeeeSettings.php:14
Magento\Framework\App\Config
Definition:
Config.php:17
Magento\Weee\Plugin\Ui\DataProvider
Definition:
WeeeSettings.php:7
Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\Product