Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
WeeeSettings.php
Go to the documentation of this file.
1 <?php
8 
10 
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 }
$config
Definition: fraud_order.php:17
afterGetData(\Magento\Catalog\Ui\DataProvider\Product\Listing\DataProvider $subject, $result)