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

/**
 * Class CreateConfigurableOptionsBaseModalButton
 * User: Nessandro
 * 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());
    }

}