Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Popup.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Msrp\Block;
7 
13 {
17  protected $config;
18 
24  public function __construct(
25  \Magento\Framework\View\Element\Template\Context $context,
26  \Magento\Msrp\Model\Config $config,
27  array $data = []
28  ) {
29  $this->config = $config;
30  parent::__construct($context, $data);
31  }
32 
36  public function isEnabled()
37  {
38  return $this->config->isEnabled();
39  }
40 
44  public function getExplanationMessage()
45  {
46  return $this->config->getExplanationMessage();
47  }
48 
53  {
54  return $this->config->getExplanationMessageWhatsThis();
55  }
56 }
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Msrp\Model\Config $config, array $data=[])
Definition: Popup.php:24