瀏覽代碼

PageCrudController

master
Guillaume 3 年之前
父節點
當前提交
54dc7089bf
共有 1 個檔案被更改,包括 1 行新增5 行删除
  1. +1
    -5
      src/Controller/Admin/PageCrudController.php

+ 1
- 5
src/Controller/Admin/PageCrudController.php 查看文件

@@ -3,13 +3,9 @@
namespace App\Controller\Admin;

use App\Entity\Site\Page;
use EasyCorp\Bundle\EasyAdminBundle\Config\Assets;
use EasyCorp\Bundle\EasyAdminBundle\Field\ChoiceField;
use EasyCorp\Bundle\EasyAdminBundle\Field\TextEditorField;
use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
use Lc\SovBundle\Controller\Admin\AbstractCrudController;
use Lc\SovBundle\Field\CKEditorField;
use Lc\SovBundle\Field\FileManagerField;
use Lc\SovBundle\Field\GalleryManagerField;
use Lc\SovBundle\Field\ImageManagerField;
use Lc\SovBundle\Field\StatusField;
@@ -27,7 +23,7 @@ class PageCrudController extends AbstractCrudController
TextField::new('title'),
CKEditorField::new('description'),
ImageManagerField::new('image'),
StatusField::new('status'),
StatusField::new('status', null, true),
GalleryManagerField::new('gallery'),
TextField::new('devAlias'),
];

Loading…
取消
儲存