function lightning_scheduler_update_8003 in Lightning Workflow 8.3
Creates the lightning_scheduler.settings config object.
1 call to lightning_scheduler_update_8003()
- Update8003Test::testUpdate in modules/
lightning_scheduler/ tests/ src/ Kernel/ Update/ Update8003Test.php - Tests that the config object is created.
File
- modules/
lightning_scheduler/ lightning_scheduler.install, line 93 - Contains installation and update hooks for Lightning Scheduler.
Code
function lightning_scheduler_update_8003() {
Drupal::configFactory()
->getEditable('lightning_scheduler.settings')
->set('time_step', 60)
->save();
}