function forward_update_8001 in Forward 4.0.x
Same name and namespace in other branches
- 8.2 forward.install \forward_update_8001()
- 4.x forward.install \forward_update_8001()
Sets default value for new variables.
File
- ./
forward.install, line 182 - Install, update and uninstall functions for the forward module.
Code
function forward_update_8001() {
$config_factory = \Drupal::configFactory();
$config_factory
->getEditable('forward.settings')
->set('forward_max_recipients', 1)
->set('forward_max_recipients_error', "You can't send email to more than @number recipient(s) at a time.")
->save();
}