<?php

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

use \ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Buttons\AddIconModalButton;
use \ModulesGarden\HostingQuotaNotifications\Core\UI\Interfaces\AdminArea;
use \ModulesGarden\HostingQuotaNotifications\App\UI\TicketTemplates\Modals\AddTicketTemplateModal;

/**
 * Description of AddLangButton
 *
 * @author Artur Pilch <artur.pi@modulesgarden.com>
 */
class AddTicketTemplateButton extends AddIconModalButton implements AdminArea
{
    protected $id    = 'addTicketTemplateButton';
    protected $name  = 'addTicketTemplateButton';
    protected $title = 'addTicketTemplateButton';

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