Skip to content

Commit 10fcc76

Browse files
Alexandr SkrashukAlexandr Skrashuk
authored andcommitted
MAGNSWTCH-88: swatch options moved to main tab
1 parent 2587d20 commit 10fcc76

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ protected function _prepareForm()
7070
}
7171
$this->_coreRegistry->register('attribute_type_hidden_fields', $_hiddenFields);
7272

73+
$this->_eventManager->dispatch('product_attribute_form_build_main_tab', ['form' => $form]);
74+
7375
$frontendInputValues = array_merge($frontendInputElm->getValues(), $additionalTypes);
7476
$frontendInputElm->setValues($frontendInputValues);
7577

0 commit comments

Comments
 (0)