瀏覽代碼

correctif configurefields

feature/ticket
Charly 3 年之前
父節點
當前提交
f3d0b821c2
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      Controller/Admin/AbstractCrudController.php

+ 3
- 1
Controller/Admin/AbstractCrudController.php 查看文件

@@ -268,7 +268,9 @@ abstract class AbstractCrudController extends EaAbstractCrudController

public function configureFields(string $pageName): iterable
{
if ($this->isInstanceOf(SortableInterface::class)) {
$seoPanel = $confPanel = array();

if ($this->isInstanceOf(SeoInterface::class)) {
$seoPanel = [
FormField::addPanel('seo')->setTemplateName('crud/field/generic'),
TextField::new('metaTitle')->setLabel('Meta Title')->setHelp(

Loading…
取消
儲存