Issue #2505149 by Dom.: Remove empty Personalization panel in AccountSettingsForm
parent
5a3e3b1743
commit
78a423e4aa
|
@ -186,15 +186,6 @@ class AccountSettingsForm extends ConfigFormBase {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Account settings.
|
|
||||||
$filter_exists = $this->moduleHandler->moduleExists('filter');
|
|
||||||
$form['personalization'] = array(
|
|
||||||
'#type' => 'details',
|
|
||||||
'#title' => $this->t('Personalization'),
|
|
||||||
'#open' => TRUE,
|
|
||||||
'#access' => $filter_exists,
|
|
||||||
);
|
|
||||||
|
|
||||||
// Default notifications address.
|
// Default notifications address.
|
||||||
$form['mail_notification_address'] = array(
|
$form['mail_notification_address'] = array(
|
||||||
'#type' => 'email',
|
'#type' => 'email',
|
||||||
|
|
Loading…
Reference in New Issue