function simplenews_update_8207 in Simplenews 8.2
Same name and namespace in other branches
- 3.x 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();
}