[Form] Removed unused option "inline" that was introduced by accident

This commit is contained in:
Bernhard Schussek 2012-07-10 10:48:57 +02:00
parent 412d9c27be
commit c6cb8b2855
1 changed files with 0 additions and 6 deletions

View File

@ -178,11 +178,6 @@ class FormType extends AbstractType
return false !== $options['property_path'];
};
// Compound forms are not displayed inline
$inline = function (Options $options) {
return !$options['compound'];
};
$resolver->setDefaults(array(
'data_class' => $dataClass,
'empty_data' => $emptyData,
@ -202,7 +197,6 @@ class FormType extends AbstractType
'virtual' => false,
'compound' => true,
'translation_domain' => null,
'inline' => $inline,
));
// If data is given, the form is locked to that data