|
@@ -106,8 +106,8 @@ discard block |
|
|
block discarded – undo |
|
106
|
106
|
'attr' => ['class' => 'bitbag-mollie-components'], |
|
107
|
107
|
'help' => |
|
108
|
108
|
$this->translator->trans('bitbag_sylius_mollie_plugin.ui.read_more_enable_components') . |
|
109
|
|
- ' <a href="'.self::DOCUMENTATION_LINKS['mollie_components'].'">'. |
|
110
|
|
- $this->translator->trans('bitbag_sylius_mollie_plugin.ui.mollie_components'). |
|
|
109
|
+ ' <a href="' . self::DOCUMENTATION_LINKS['mollie_components'] . '">' . |
|
|
110
|
+ $this->translator->trans('bitbag_sylius_mollie_plugin.ui.mollie_components') . |
|
111
|
111
|
'</a>', |
|
112
|
112
|
'help_html' => true, |
|
113
|
113
|
]) |
|
@@ -115,12 +115,12 @@ discard block |
|
|
block discarded – undo |
|
115
|
115
|
'label' => 'bitbag_sylius_mollie_plugin.ui.single_click_enabled', |
|
116
|
116
|
'attr' => ['class' => 'bitbag-single-click-payment'], |
|
117
|
117
|
'help' => $this->translator->trans('bitbag_sylius_mollie_plugin.ui.read_more_single_click_enabled') . |
|
118
|
|
- ' <a href="'.self::DOCUMENTATION_LINKS['single_click'].'">'. |
|
119
|
|
- $this->translator->trans('bitbag_sylius_mollie_plugin.ui.mollie_single_click'). |
|
|
118
|
+ ' <a href="' . self::DOCUMENTATION_LINKS['single_click'] . '">' . |
|
|
119
|
+ $this->translator->trans('bitbag_sylius_mollie_plugin.ui.mollie_single_click') . |
|
120
|
120
|
'</a>', |
|
121
|
121
|
'help_html' => true, |
|
122
|
122
|
]) |
|
123
|
|
- ->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) { |
|
|
123
|
+ ->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) { |
|
124
|
124
|
$data = $event->getData(); |
|
125
|
125
|
|
|
126
|
126
|
if (true === $data['components']) { |
Please login to merge, or discard this patch.