fix node type for aliases
This commit is contained in:
parent
6fd1b642c1
commit
04b44acd23
|
@ -159,8 +159,7 @@ class NodeType extends AbstractType
|
||||||
EntityType::class,
|
EntityType::class,
|
||||||
[
|
[
|
||||||
'label' => false,
|
'label' => false,
|
||||||
'required' => true,
|
'required' => false,
|
||||||
'mapped' => true,
|
|
||||||
'class' => Node::class,
|
'class' => Node::class,
|
||||||
'choice_label' => 'label',
|
'choice_label' => 'label',
|
||||||
'choices' => call_user_func(function() use ($options, $builder) {
|
'choices' => call_user_func(function() use ($options, $builder) {
|
||||||
|
|
Loading…
Reference in a new issue