- /**
- * Get attributes meta
- *
- * @param Type $entityType
- * @return array
- * @throws \Magento\Framework\Exception\LocalizedException
- */
- protected function getAttributesMeta(Type $entityType)
- {
- $meta = [];
- $attributes = $entityType->getAttributeCollection();
- /* @var \Magento\Eav\Model\Entity\Attribute\AbstractAttribute $attribute */
- foreach ($attributes as $attribute) {
- $this->processFrontendInput($attribute, $meta);
-
- $code = $attribute->getAttributeCode();
- // use getDataUsingMethod, since some getters are defined and apply additional processing of returning value
- foreach ($this->metaProperties as $metaName => $origName) {