Ejemplo n.º 1
0
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $options['hiddenFields'] = ['url', 'license', 'author', 'authorUrl', 'authorAvatarUrl'];
     parent::buildForm($builder, $options);
 }
Ejemplo n.º 2
0
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $options['hiddenFields'] = ['url', 'license'];
     parent::buildForm($builder, $options);
     $builder->add('musicType', 'hidden')->add('musicId', 'hidden');
 }
Ejemplo n.º 3
0
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $options['hiddenFields'] = ['title', 'url', 'license'];
     parent::buildForm($builder, $options);
     $builder->add('musicType', 'hidden')->add('musicId', 'hidden')->add('showPlaylist', 'checkbox', ['label' => $this->__('Show playlist'), 'required' => false]);
 }
Ejemplo n.º 4
0
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     parent::buildForm($builder, $options);
     $builder->add('flickrid', 'hidden')->add('flickrfarm', 'hidden')->add('flickrsecret', 'hidden')->add('flickrserver', 'hidden');
 }