File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
app/code/Magento/PageBuilder
Plugin/Catalog/Ui/DataProvider/Product/Form/Modifier Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 10
10
11
11
use Magento \Catalog \Api \Data \ProductAttributeInterface ;
12
12
use Magento \Catalog \Ui \DataProvider \Product \Form \Modifier \Eav as EavModifier ;
13
- use Magento \Framework \Exception \NoSuchEntityException ;
14
- use Magento \Framework \Exception \NotFoundException ;
15
13
use Magento \Framework \Stdlib \ArrayManager ;
16
14
15
+ /**
16
+ * Data Provider for EAV Attributes on Product Page
17
+ */
17
18
class EavPlugin
18
19
{
19
- const META_ATTRIBUTE_CONFIG_PATH = 'arguments/data/config ' ;
20
+ public const META_ATTRIBUTE_CONFIG_PATH = 'arguments/data/config ' ;
20
21
21
22
/**
22
23
* @var ArrayManager
@@ -32,6 +33,8 @@ public function __construct(ArrayManager $arrayManager)
32
33
}
33
34
34
35
/**
36
+ * Setup Attribute Meta
37
+ *
35
38
* @param EavModifier $subject
36
39
* @param array $result
37
40
* @param ProductAttributeInterface $attribute
@@ -63,6 +66,8 @@ public function afterSetupAttributeMeta(
63
66
}
64
67
65
68
/**
69
+ * Setup Attribute Container Meta
70
+ *
66
71
* @param EavModifier $subject
67
72
* @param array $result
68
73
* @param ProductAttributeInterface $attribute
Original file line number Diff line number Diff line change 623
623
<type name =" Magento\Framework\Filter\Template" >
624
624
<plugin name =" convertBackgroundImages" type =" Magento\PageBuilder\Plugin\Filter\TemplatePlugin" />
625
625
</type >
626
+ <type name =" Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav" >
627
+ <plugin name =" pagebuilder_product_form_eav" type =" Magento\PageBuilder\Plugin\Catalog\Ui\DataProvider\Product\Form\Modifier\EavPlugin" sortOrder =" 20" />
628
+ </type >
626
629
</config >
Original file line number Diff line number Diff line change 338
338
<argument name =" instanceName" xsi : type =" string" >Magento\PageBuilder\Model\Dom\HtmlDocument</argument >
339
339
</arguments >
340
340
</virtualType >
341
- <type name =" Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav" >
342
- <plugin name =" pagebuilder_product_form_eav" type =" Magento\PageBuilder\Plugin\Catalog\Ui\DataProvider\Product\Form\Modifier\EavPlugin" sortOrder =" 20" />
343
- </type >
344
341
</config >
You can’t perform that action at this time.
0 commit comments