/** * Retrieve attributes for product mass update * * @return \Magento\Framework\Object[] */ public function getAttributes() { return $this->_attributeAction->getAttributes()->getItems(); }