10000 [Form] Removed unused option "inline" that was introduced by accident · defrag/symfony@c6cb8b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit c6cb8b2

Browse files
committed
[Form] Removed unused option "inline" that was introduced by accident
1 parent 412d9c2 commit c6cb8b2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Symfony/Component/Form/Extension/Core/Type/FormType.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,6 @@ public function setDefaultOptions(OptionsResolverInterface $resolver)
178178
return false !== $options['property_path'];
179179
};
180180

181-
// Compound forms are not displayed inline
182-
$inline = function (Options $options) {
183-
return !$options['compound'];
184-
};
185-
186181
$resolver->setDefaults(array(
187182
'data_class' => $dataClass,
188183
'empty_data' => $emptyData,
@@ -202,7 +197,6 @@ public function setDefaultOptions(OptionsResolverInterface $resolver)
202197
'virtual' => false,
203198
'compound' => true,
204199
'translation_domain' => null,
205-
'inline' => $inline,
206200
));
207201

208202
// If data is given, the form is locked to that data

0 commit comments

Comments
 (0)
0