![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/extmag/shiplab/Block/Adminhtml/ManualLabel/CreateStepTwo/ |
<?php /** * Copyright © Extmag. All rights reserved. */ namespace Extmag\Shiplab\Block\Adminhtml\ManualLabel\CreateStepTwo; use Extmag\Shiplab\Block\Adminhtml\ManualLabel\GenericButton; use Magento\Framework\View\Element\UiComponent\Control\ButtonProviderInterface; class SaveButton extends GenericButton implements ButtonProviderInterface { /** * @return array */ public function getButtonData() { return [ 'label' => __('Next'), 'class' => 'save primary', 'data_attribute' => [ 'mage-init' => [ 'buttonAdapter' => [ 'actions' => [ [ 'targetName' => 'extmag_shiplab_' . $this->context->getRequest()->getParam('carrier_code') . 'label_form_step_two.extmag_shiplab_' . $this->context->getRequest()->getParam('carrier_code') . 'label_form_step_two', 'actionName' => 'save', 'params' => [ true, [ 'direct_label_id' => $this->context->getRequest()->getParam('direct_label_id'), ], ], ], ], ], ], ], 'sort_order' => 90, ]; } }