Inconsistency: \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes::_getAdditionalElementTypes() fires the event «adminhtml_catalog_product_edit_element_types» but \Magento\Catalog\Block\Adminhtml\Category\Tab\Attributes::_getAdditionalElementTypes() does not fire a similar event #2165
Closed
Description
Method \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes::_getAdditionalElementTypes()
allows an extension to add custom element types to admin product page by handling adminhtml_catalog_product_edit_element_types
event:
A similar method for categories \Magento\Catalog\Block\Adminhtml\Category\Tab\Attributes::_getAdditionalElementTypes() needs to do so too.
magento2/app/code/Magento/Catalog/Block/Adminhtml/Category/Tab/Attributes.php
Lines 124 to 130 in 0be91a5
Now an extension can add custom element types to admin product page, but can not do so for admin category page.