Skip to content
Snippets Groups Projects
Commit 7659a09e authored by Adam Shepherd's avatar Adam Shepherd
Browse files

Issue #3265253 by AdamPS: Add policy listings to module entity/settings forms (correction)

parent 70462fa2
Branches
Tags 1.0.8
No related merge requests found
......@@ -7,7 +7,7 @@ use Drupal\Core\Config\ConfigFactoryOverrideInterface;
use Drupal\Core\Config\StorageInterface;
/**
* Example configuration override.
* Symfony Mailer Back-compatibility configuration override.
*/
class MailerBcConfigOverride implements ConfigFactoryOverrideInterface {
......@@ -16,8 +16,9 @@ class MailerBcConfigOverride implements ConfigFactoryOverrideInterface {
*/
public function loadOverrides($names) {
$overrides = [];
if (in_array('user.setting', $names)) {
$overrides['user.setting']['notify'] = [
if (in_array('user.settings', $names)) {
$overrides['user.settings']['notify'] = [
'cancel_confirm' => TRUE,
'password_reset' => TRUE,
'status_activated' => TRUE,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment