reorganized menu
This commit is contained in:
parent
a7dc9bb49b
commit
e65044fe79
|
@ -20,9 +20,11 @@ class QuotesCrudController extends AbstractCrudController
|
||||||
|
|
||||||
public function configureFields(string $pageName): iterable
|
public function configureFields(string $pageName): iterable
|
||||||
{
|
{
|
||||||
return [
|
yield IdField::new(propertyName: 'id')
|
||||||
IdField::new(propertyName: 'id'),
|
->onlyOnIndex();
|
||||||
TextField::new(propertyName: 'quote'),
|
yield TextField::new(propertyName: 'quote')
|
||||||
];
|
->onlyOnIndex();
|
||||||
|
yield TextEditorField::new(propertyName: 'quote')
|
||||||
|
->onlyOnForms();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue