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

Commit 4879145

Browse files
committed
Fix choice type options
1 parent f1d2d01 commit 4879145

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Admin/MenuNodeAdmin.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,14 @@ protected function configureFormFields(FormMapper $formMapper)
5555
$formMapper
5656
->with('form.group_general')
5757
->add('linkType', 'choice_field_mask', array(
58+
'choices' => array(
59+
'route' => 'route',
60+
'uri' => 'uri',
61+
'content' => 'content',
62+
),
5863
'map' => array(
59-
'route' => array('route'),
60-
'uri' => array('uri'),
64+
'route' => array('link'),
65+
'uri' => array('link'),
6166
'content' => array('content', 'doctrine_phpcr_odm_tree'),
6267
),
6368
'empty_value' => 'auto',

0 commit comments

Comments
 (0)