function simplesitemap_update_8107 in Simple XML sitemap 8
Setting the new cron generation setting to TRUE by default.
File
- ./
simplesitemap.install, line 166 - Module install and update procedures.
Code
function simplesitemap_update_8107() {
\Drupal::service('config.factory')
->getEditable('simplesitemap.settings')
->set('settings', array(
'cron_generate' => TRUE,
))
->save();
}