cancel
Showing results for 
Search instead for 
Did you mean: 

No generic buttons for admin forms

0 Kudos

No generic buttons for admin forms

Feature request from danslo, posted on GitHub Aug 15, 2015

There are things like Magento\Customer\Block\Adminhtml\Edit\BackButton which don't contain any customer specific functionality, preferably they should be moved to a more generic place (Magento\Framework\View or Magento\Ui?) so other modules can make use of them without having dependency on Magento_Customer.

1 Comment
Not applicable

Comment from danslo, posted on GitHub Aug 15, 2015

Other buttons, like Magento\Customer\Block\Adminhtml\Edit\DeleteButton should probably inject a label / field name in constructor and also moved to generic location so that we can re-use them with virtual types.