1: <?php
2:
3: namespace Mapbender\CoreBundle\Form\Type;
4:
5: use Symfony\Component\Form\AbstractType;
6: use Symfony\Component\Form\FormBuilderInterface;
7:
8: class LayersetType extends AbstractType
9: {
10:
11: /**
12: * @inheritdoc
13: */
14: public function getName()
15: {
16: return 'layerset';
17: }
18:
19: /**
20: * @inheritdoc
21: */
22: public function buildForm(FormBuilderInterface $builder, array $options)
23: {
24:
25: $builder->add("id", "hidden", array("required" => false))
26: ->add("title", "text");
27: }
28:
29: }
30:
31: