Pārlūkot izejas kodu

correctif configurefields

feature/ticket
Charly pirms 3 gadiem
vecāks
revīzija
f3d0b821c2
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. +3
    -1
      Controller/Admin/AbstractCrudController.php

+ 3
- 1
Controller/Admin/AbstractCrudController.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt