Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Logo.php
Go to the documentation of this file.
1 <?php
7 
12 {
16  protected $_configFactory;
17 
21  public function __construct(\Magento\Paypal\Model\ConfigFactory $configFactory)
22  {
23  $this->_configFactory = $configFactory;
24  }
25 
29  public function toOptionArray()
30  {
31  $result = ['' => __('No Logo')];
32  $result += $this->_configFactory->create()->getAdditionalOptionsLogoTypes();
33  return $result;
34  }
35 }
__()
Definition: __.php:13
$configFactory
Definition: config_data.php:43
__construct(\Magento\Paypal\Model\ConfigFactory $configFactory)
Definition: Logo.php:21