24 private $attrFormCollectionFactory;
29 private $storeManager;
44 $this->attrFormCollectionFactory = $attrFormCollectionFactory;
71 $storeId = $this->storeManager->getStore()->getId();
73 $object = new \Magento\Framework\DataObject(
79 return $this->eavConfig->getEntityAttributeCodes(
$entityType, $object);
91 $attributesFormCollection = $this->attrFormCollectionFactory->create();
92 $attributesFormCollection->setStore($this->storeManager->getStore())
94 ->addFormCodeFilter($formCode)
97 return $attributesFormCollection;