<?php

namespace ModulesGarden\HostingQuotaNotifications\App\UI\TicketTemplates\Buttons\EditSubPages;

use \ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Buttons\BaseModalButton;
use \ModulesGarden\HostingQuotaNotifications\Core\UI\Interfaces\AdminArea;
use \ModulesGarden\HostingQuotaNotifications\App\UI\TicketTemplates\Modals\EditSubPages\EditLangModal;

/**
 * Description of EditLangButton
 *
 * @author Artur Pilch <artur.pi@modulesgarden.com>
 */
class EditLangButton extends BaseModalButton implements AdminArea
{
    protected $id    = 'editLangButton';
    protected $name  = 'editLangButton';
    protected $title = 'editLangButton';
    protected $class = ['btn btn--sm btn--primary btn--link btn--icon btn--plain lu-tooltip drop-target drop-element-attached-bottom drop-element-attached-center drop-target-attached-top drop-target-attached-center'];
    protected $icon  = 'btn__icon zmdi zmdi-edit';

    public function initContent()
    {
        $this->initLoadModalAction(new EditLangModal());
    }
}
