public function buildForm(FormBuilderInterface $builder, array $options)
 {
     parent::buildForm($builder, $options);
     $builder->add('multiple', 'checkbox', array('required' => false));
     $builder->add('expanded', 'checkbox', array('required' => false));
     $builder->add('choices', 'collection', array('type' => new ChoiceFieldOptionType(), 'allow_add' => true, 'allow_delete' => true));
 }
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     parent::buildForm($builder, $options);
     $builder->add('fields', 'collection', array('type' => 'entity', 'allow_add' => true, 'allow_delete' => true, 'options' => array('class' => 'ScayTrase\\StoredFormsBundle\\Entity\\Field\\AbstractField')));
 }
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     parent::buildForm($builder, $options);
     $builder->add('classname', 'text');
 }