Procházet zdrojové kódy

correctif configurefields

feature/ticket
Charly před 3 roky
rodič
revize
f3d0b821c2
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. +3
    -1
      Controller/Admin/AbstractCrudController.php

+ 3
- 1
Controller/Admin/AbstractCrudController.php Zobrazit soubor

@@ -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(

Načítá se…
Zrušit
Uložit