File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,11 @@ class Eav extends AbstractModifier
133
133
*/
134
134
private $ translitFilter ;
135
135
136
+ /**
137
+ * @var array
138
+ */
139
+ private $ bannedInputTypes = ['media_image ' ];
140
+
136
141
/**
137
142
* Initialize dependencies
138
143
*
@@ -218,7 +223,12 @@ public function modifyMeta(array $meta)
218
223
protected function getAttributesMeta (array $ attributes , $ groupCode )
219
224
{
220
225
$ meta = [];
226
+
221
227
foreach ($ attributes as $ sortKey => $ attribute ) {
228
+ if (in_array ($ attribute ->getFrontendInput (), $ this ->bannedInputTypes )) {
229
+ continue ;
230
+ }
231
+
222
232
$ code = $ attribute ->getAttributeCode ();
223
233
$ canDisplayService = $ this ->canDisplayUseDefault ($ attribute );
224
234
$ usedDefault = $ this ->usedDefault ($ attribute );
You can’t perform that action at this time.
0 commit comments