File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1111use Magento \Backend \App \Action \Context ;
1212use Magento \Framework \Registry ;
1313use Magento \Framework \App \ObjectManager ;
14- use Magento \CheckoutAgreements \Controller \Adminhtml \Agreement ;
15- use Magento \CheckoutAgreements \Block \Adminhtml \Agreement \Edit ;
14+ use Magento \CheckoutAgreements \Block \Adminhtml \Agreement \Edit as BlockEdit ;
1615
1716class Edit extends Agreement
1817{
@@ -65,7 +64,7 @@ public function execute()
6564 $ id ? __ ('Edit Condition ' ) : __ ('New Condition ' )
6665 )->_addContent (
6766 $ this ->_view ->getLayout ()->createBlock (
68- Edit ::class
67+ BlockEdit ::class
6968 )->setData (
7069 'action ' ,
7170 $ this ->getUrl ('checkout/*/save ' )
Original file line number Diff line number Diff line change 1111use Magento \Backend \App \Action \Context ;
1212use Magento \Framework \Registry ;
1313use Magento \Framework \App \ObjectManager ;
14- use Magento \CheckoutAgreements \Controller \Adminhtml \Agreement ;
1514use Magento \Framework \DataObject ;
1615use Magento \Framework \Exception \LocalizedException ;
1716
You can’t perform that action at this time.
0 commit comments