소스 검색

[Technique] Paramètres : nouveau système de settings

feature/souke
Guillaume Bourgeois 1 년 전
부모
커밋
9192bc5be0
2개의 변경된 파일0개의 추가작업 그리고 19개의 파일을 삭제
  1. +0
    -2
      common/logic/Setting/SettingDetails/Admin/AdminSettingDefinition.php
  2. +0
    -17
      common/logic/Setting/SettingDetails/Admin/General/TestToggleAdminSetting.php

+ 0
- 2
common/logic/Setting/SettingDetails/Admin/AdminSettingDefinition.php 파일 보기

@@ -5,7 +5,6 @@ namespace common\logic\Setting\SettingDetails\Admin;
use common\logic\Setting\SettingDefinition;
use common\logic\Setting\SettingDetails\Admin\General\AdministratorEmailAdminSetting;
use common\logic\Setting\SettingDetails\Admin\General\AdministratorPhoneNumberAdminSetting;
use common\logic\Setting\SettingDetails\Admin\General\TestToggleAdminSetting;

class AdminSettingDefinition extends SettingDefinition
{
@@ -19,7 +18,6 @@ class AdminSettingDefinition extends SettingDefinition
self::SUBSECTION_GENERAL => [
new AdministratorEmailAdminSetting,
new AdministratorPhoneNumberAdminSetting,
new TestToggleAdminSetting,
]
],
];

+ 0
- 17
common/logic/Setting/SettingDetails/Admin/General/TestToggleAdminSetting.php 파일 보기

@@ -1,17 +0,0 @@
<?php

namespace common\logic\Setting\SettingDetails\Admin\General;

use common\logic\Setting\SettingDetails\AbstractSettingDetail;

class TestToggleAdminSetting extends AbstractSettingDetail
{
public function __construct()
{
$this
->setName('testToggle')
->setLabel("Activer cette option")
->setTypeBoolean()
->setFormTypeToggle();
}
}

Loading…
취소
저장