<?php

namespace FiloBlu\Esb\Block\Adminhtml\Producer\Edit;

use FiloBlu\Esb\Block\Adminhtml\Common\Button;
use Magento\Backend\Block\Widget\Context;

/**
 * Class BackButton
 */
class SaveAndContinueButton extends Button
{
    /**
     * @inheritDoc
     */
    public function getButtonData()
    {
        return [
            'label' => __('Save and Continue Edit'),
            'class' => 'save primary',
            'data_attribute' => [
                'mage-init' => [
                    'button' => ['event' => 'saveAndContinueEdit']
                ],
            ],
            'sort_order' => 80,
        ];
    }
}
