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 authored and drupol committed Jan 8, 2019
1 parent e1a9e9a commit a5716ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
administer webtools analytics:
title: 'Administer Webtools Analytics'
restrict access: false
restrict access: false
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 a5716ca

Please sign in to comment.