<?php

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


use \ModulesGarden\HostingQuotaNotifications\Core\UI\Interfaces\AdminArea;
use \ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Forms\BaseStandaloneFormExtSections;
use \ModulesGarden\HostingQuotaNotifications\App\UI\Groups\Providers\Configuration\ConfigurationProvider;
use \ModulesGarden\HostingQuotaNotifications\App\UI\Groups\Forms\Configuration\ConfigurationForm;


class Configuration extends BaseStandaloneFormExtSections implements AdminArea
{
    protected $id   = 'edit_id';
    protected $name = 'edit_name';
    protected $title = 'edit';


    public function initContent()
    {
        $this->setProvider(new ConfigurationProvider());
        $this->addSection((new ConfigurationForm())->initFields());
        $this->loadDataToForm();
    }
}
