Skip to content

Commit

Permalink
OPENEUROPA-1500: Add review improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
nagyad committed Jan 8, 2019
1 parent e1a9e9a commit e1a2306
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ public function getFormId() {
return 'oe_webtools_analytics_settings';
}

/**
* {@inheritdoc}
*/
protected function getEditableConfigNames() {
return ['oe_webtools_analytics.settings'];
}

/**
* {@inheritdoc}
*/
Expand All @@ -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);
}

Expand All @@ -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'];
}

}

0 comments on commit e1a2306

Please sign in to comment.