Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Config.php
Go to the documentation of this file.
1 <?php
9 
10 class Config
11 {
15  protected $_dataStorage;
16 
20  public function __construct(\Magento\Catalog\Model\Attribute\Config\Data $dataStorage)
21  {
22  $this->_dataStorage = $dataStorage;
23  }
24 
31  public function getAttributeNames($groupName)
32  {
33  return $this->_dataStorage->get($groupName, []);
34  }
35 }
__construct(\Magento\Catalog\Model\Attribute\Config\Data $dataStorage)
Definition: Config.php:20