1 | <?php |
||
22 | class ButtonTypeExtension extends AbstractTypeExtension |
||
23 | { |
||
24 | /** |
||
25 | * {@inheritDoc} |
||
26 | */ |
||
27 | public function buildView(FormView $view, FormInterface $form, array $options) |
||
32 | |||
33 | /** |
||
34 | * Add the button_class option |
||
35 | * Add the as_link option |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function configureOptions(OptionsResolver $resolver) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function getExtendedType() |
||
51 | } |