From e1a230633f929e24f15c159f18104105a4db5e55 Mon Sep 17 00:00:00 2001 From: nagyad Date: Tue, 8 Jan 2019 15:24:56 +0100 Subject: [PATCH] OPENEUROPA-1500: Add review improvements. --- .../src/Form/WebtoolsAnalyticsSettingsForm.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/modules/oe_webtools_analytics/src/Form/WebtoolsAnalyticsSettingsForm.php b/modules/oe_webtools_analytics/src/Form/WebtoolsAnalyticsSettingsForm.php index 02214d9e..bd164bc0 100644 --- a/modules/oe_webtools_analytics/src/Form/WebtoolsAnalyticsSettingsForm.php +++ b/modules/oe_webtools_analytics/src/Form/WebtoolsAnalyticsSettingsForm.php @@ -24,13 +24,6 @@ public function getFormId() { return 'oe_webtools_analytics_settings'; } - /** - * {@inheritdoc} - */ - protected function getEditableConfigNames() { - return ['oe_webtools_analytics.settings']; - } - /** * {@inheritdoc} */ @@ -53,6 +46,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { '#default_value' => $this->config(static::CONFIGNAME)->get('instance'), '#description' => $this->t('The server instance. e.g. testing, ec.europa.eu or europa.eu.'), ]; + return parent::buildForm($form, $form_state); } @@ -68,4 +62,11 @@ public function submitForm(array &$form, FormStateInterface $form_state) { parent::submitForm($form, $form_state); } + /** + * {@inheritdoc} + */ + protected function getEditableConfigNames() { + return ['oe_webtools_analytics.settings']; + } + }