function simplenews_update_8207 in Simplenews 3.x
Same name and namespace in other branches
- 8.2 simplenews.install \simplenews_update_8207()
Initialize tidy unconfirmed subscribers setting.
File
- ./
simplenews.install, line 265 - Install, update and uninstall functions for the simplenews module.
Code
function simplenews_update_8207() {
$config = \Drupal::configFactory()
->getEditable('simplenews.settings');
$config
->set('subscription.tidy_unconfirmed', 0);
$config
->save();
}