Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 47e48a1

Browse files
committed
do not hardcode the showmapper to invalid type and specify associated_property
1 parent a936046 commit 47e48a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Admin/AbstractMenuNodeAdmin.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ protected function configureFormFields(FormMapper $formMapper)
102102
protected function configureShowFields(ShowMapper $showMapper)
103103
{
104104
$showMapper
105-
->add('id', 'text')
106-
->add('name', 'text')
107-
->add('label', 'text')
108-
->add('uri', 'text')
109-
->add('content', 'text')
105+
->add('id')
106+
->add('name')
107+
->add('label')
108+
->add('uri')
109+
->add('content', null, array('associated_property' => 'title'))
110110
;
111111
}
112112

0 commit comments

Comments
 (0)