function ip2country_update_8101 in IP-based Determination of a Visitor's Country 8
Add batch_size to the default configuration.
File
- ./
ip2country.install, line 125 - Install, update, and uninstall functions for the ip2country module.
Code
function ip2country_update_8101() {
$config = \Drupal::configFactory()
->getEditable('ip2country.settings');
$config
->set('batch_size', 200);
$config
->save(TRUE);
}