瀏覽代碼

[DoctrineBridge] Removed all options of the parent type

Deni 14 年之前
父節點
當前提交
70477c4995
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php

+ 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);