Prechádzať zdrojové kódy

[DoctrineBridge] Removed all options of the parent type

Deni 14 rokov pred
rodič
commit
70477c4995

+ 0 - 3
src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php

@@ -44,14 +44,11 @@ class EntityType extends AbstractType
     public function getDefaultOptions(array $options)
     {
         $defaultOptions = array(
-            'multiple'          => false,
-            'expanded'          => false,
             'em'                => null,
             'class'             => null,
             'property'          => null,
             'query_builder'     => null,
             'choices'           => array(),
-            'preferred_choices' => array(),
         );
 
         $options = array_replace($defaultOptions, $options);