Commit 460795e0 authored by APolitsin's avatar APolitsin
Browse files

Settings.php codestyle

parent 188644bc
......@@ -43,7 +43,7 @@ class Settings extends ConfigFormBase {
'#title' => $this->t('General settings'),
'#open' => TRUE,
];
$form["general"]['no-index'] = array(
$form["general"]['no-index'] = [
'#title' => $this->t('Индексация запрещена'),
'#description' => $this->t('Не забываем снимать при старте сайта!'),
'#type' => 'checkbox',
......@@ -51,8 +51,8 @@ class Settings extends ConfigFormBase {
'#required' => FALSE,
'#size' => 15,
'#default_value' => $config->get('no-index'),
);
$form["general"]['fz152'] = array(
];
$form["general"]['fz152'] = [
'#title' => $this->t('Галочка ФЗ-152'),
'#description' => $this->t('Галочка появится под каждой формой модуля `contact`'),
'#type' => 'checkbox',
......@@ -60,7 +60,7 @@ class Settings extends ConfigFormBase {
'#required' => FALSE,
'#size' => 15,
'#default_value' => $config->get('fz152'),
);
];
$form['contact'] = [
'#type' => 'details',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment