1: <?php
2:
3: namespace Mapbender\CoreBundle\Element\Type;
4:
5: use Symfony\Component\Form\AbstractType;
6: use Symfony\Component\Form\FormBuilderInterface;
7: use Symfony\Component\OptionsResolver\OptionsResolverInterface;
8:
9: /**
10: *
11: */
12: class PrintClientQualityAdminType extends AbstractType
13: {
14:
15: /**
16: * @inheritdoc
17: */
18: public function getName()
19: {
20: return 'printclientquality';
21: }
22:
23: /**
24: * @inheritdoc
25: */
26: public function setDefaultOptions(OptionsResolverInterface $resolver)
27: {
28: $resolver->setDefaults(array(
29: 'application' => null
30: ));
31: }
32:
33: /**
34: * @inheritdoc
35: */
36: public function buildForm(FormBuilderInterface $builder, array $options)
37: {
38: $builder->add('dpi', 'text', array('required' => false))
39: ->add('label', 'text', array('required' => false));
40: }
41:
42: }