<?php
namespace ThurData\Servers\KerioEmail\App\UI\Admin\ProductConfiguration\Buttons;
use ThurData\Servers\KerioEmail\App\UI\Admin\ProductConfiguration\Modals\CreateConfigurableOptionsConfirm;
use ThurData\Servers\KerioEmail\Core\UI\Interfaces\AdminArea;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonCreate;

/**
 * Class CreateConfigurableOptionsBaseModalButton
 * User: ThurData
 * Date: 2019-09-29
 * Time: 15:29
 */

class CreateConfigurableOptionsBaseModalButton extends ButtonCreate implements AdminArea
{
    protected $id             = 'createCOBaseModalButton';
    protected $name           = 'createCOBaseModalButton';
    protected $title          = 'createCOBaseModalButton';
    protected $class          = ['lu-btn lu-btn--success'];
    protected $htmlAttributes = [
        'href' => 'javascript:;',
    ];

    public function initContent() {

        $this->initLoadModalAction(new CreateConfigurableOptionsConfirm());
    }

}