/**
  * bind form to WidgetHtml entity
  * @param OptionsResolverInterface $resolver
  */
 public function setDefaultOptions(OptionsResolverInterface $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setDefaults(array('data_class' => 'Victoire\\Widget\\HtmlBundle\\Entity\\WidgetHtml', 'widget' => 'Html', 'translation_domain' => 'victoire'));
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function configureOptions(OptionsResolver $resolver)
 {
     parent::configureOptions($resolver);
     $resolver->setDefaults(['data_class' => 'Victoire\\Widget\\ForceBundle\\Entity\\WidgetForce', 'widget' => 'Force', 'translation_domain' => 'victoire']);
 }
Exemplo n.º 3
0
 /**
  * bind form to WidgetGmap entity.
  *
  * @param OptionsResolverInterface $resolver
  */
 public function setDefaultOptions(OptionsResolverInterface $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setDefaults(['data_class' => 'Victoire\\Widget\\GmapBundle\\Entity\\WidgetGmap', 'widget' => 'Gmap', 'translation_domain' => 'victoire', 'enctype' => 'multipart/form-data']);
 }
 /**
  * bind form to WidgetRedactor entity.
  *
  * @param OptionsResolverInterface $resolver
  */
 public function setDefaultOptions(OptionsResolverInterface $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setDefaults(['data_class' => 'Victoire\\Widget\\SliderBundle\\Entity\\WidgetSlider', 'widget' => 'widgetslideritem', 'translation_domain' => 'victoire']);
 }
 /**
  * bind form to WidgetSimpleContactForm entity.
  *
  * @param OptionsResolverInterface $resolver
  */
 public function setDefaultOptions(OptionsResolverInterface $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setDefaults(['data_class' => 'Victoire\\Widget\\SimpleContactFormBundle\\Entity\\WidgetSimpleContactForm', 'widget' => 'SimpleContactForm', 'translation_domain' => 'victoire']);
 }
 /**
  * bind form to WidgetTable entity.
  *
  * @param OptionsResolver $resolver
  */
 public function configureOptions(OptionsResolver $resolver)
 {
     parent::configureOptions($resolver);
     $resolver->setDefaults(['data_class' => 'Victoire\\Widget\\TableBundle\\Entity\\WidgetTable', 'widget' => 'Table', 'translation_domain' => 'victoire', 'namespace' => null, 'businessEntityId' => null, 'mode' => 'static']);
 }
 /**
  * bind form to WidgetPictureComparator entity.
  *
  * @param OptionsResolverInterface $resolver
  */
 public function setDefaultOptions(OptionsResolverInterface $resolver)
 {
     parent::setDefaultOptions($resolver);
     $resolver->setDefaults(['data_class' => 'Victoire\\Widget\\PictureComparatorBundle\\Entity\\WidgetPictureComparator', 'widget' => 'PictureComparator', 'translation_domain' => 'victoire']);
 }
 /**
  * bind form to WidgetAggregateRating entity
  * @param OptionsResolver $resolver
  */
 public function configureOptions(OptionsResolver $resolver)
 {
     parent::configureOptions($resolver);
     $resolver->setDefaults(array('data_class' => WidgetAggregateRating::class, 'widget' => 'AggregateRating', 'translation_domain' => 'victoire'));
 }