Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $builder->add('hashtag', 'text', ['label' => 'mautic.social.monitoring.twitter.hashtag', 'label_attr' => ['class' => 'control-label'], 'attr' => ['tooltip' => 'mautic.social.monitoring.twitter.hashtag.tooltip', 'class' => 'form-control', 'preaddon' => 'symbol-hashtag']]);
     // pull in the parent type's form builder
     parent::buildForm($builder, $options);
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $builder->add('handle', 'text', array('label' => 'mautic.social.monitoring.twitter.handle', 'label_attr' => array('class' => 'control-label'), 'attr' => array('class' => 'form-control', 'tooltip' => 'mautic.social.monitoring.twitter.handle.tooltip', 'preaddon' => 'fa fa-at')));
     // pull in the parent type's form builder
     parent::buildForm($builder, $options);
 }