Example #1
0
 /**
  * Retrun array with base attributes
  *
  * @return array
  */
 protected function _getBaseAttributes()
 {
     $names = $this->_config->getBaseAttributes();
     $attributes = [];
     foreach ($names as $name) {
         $attributes[$name] = $this->_attributeFactory->createAttribute($name);
     }
     return $this->_initGroupAttributes($attributes);
 }