<?php

/* * ********************************************************************
 * Wordpress_Manager Product developed. (Dec 5, 2017)
 * *
 *
 *  CREATED BY MODULESGARDEN       ->       http://modulesgarden.com
 *  CONTACT                        ->       contact@modulesgarden.com
 *
 *
 * This software is furnished under a license and may be used and copied
 * only  in  accordance  with  the  terms  of such  license and with the
 * inclusion of the above copyright notice.  This software  or any other
 * copies thereof may not be provided or otherwise made available to any
 * other person.  No title to and  ownership of the  software is  hereby
 * transferred.
 *
 *
 * ******************************************************************** */

namespace ModulesGarden\HostingQuotaNotifications\App\UI\Groups\Forms\Configuration;

use ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Forms\BaseForm;
use ModulesGarden\HostingQuotaNotifications\Core\UI\Interfaces\AdminArea;
use \ModulesGarden\HostingQuotaNotifications\App\UI\Groups\Providers\GroupsProvider as GroupsProvider;
use \ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Forms\AjaxFields\SelectGlobalLang as GlobalLangSelectHQ;
use \ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Forms\Fields\Text;
use \ModulesGarden\HostingQuotaNotifications\App\UI\Groups\Providers\Configuration\StepsProvider;
/**
 * Description of MassDeleteStepForm
 *
 * @author Artur Pilch <artur.pi@modulesgarden.com>
 */
class MassDeleteStepForm extends BaseForm implements AdminArea
{
    protected $id = 'massStepDeleteForm';

    public function getAllowedActions()
    {
        return ['massStepDelete'];
    }

    public function initContent()
    {
        $this->setFormType('massStepDelete');
        $this->setProvider(new StepsProvider());
        $this->setConfirmMessage('confirmMassDeleteSteps', ['class' => 'btn btn-danger']);
    }
}
