/** * @return array */ public function getMediaAttributeCodes() { return $this->attributeHelper->getAttributeCodesByFrontendType('media_image'); }