protected function SchedulerUiTrait::setTimeStep in Lightning Workflow 8.3
Sets the time input's step attribute.
Parameters
int $time_step: (optional) The time step.
2 calls to SchedulerUiTrait::setTimeStep()
- TransitionTest::setUp in modules/
lightning_scheduler/ tests/ src/ FunctionalJavascript/ TransitionTest.php - UiTest::setUp in modules/
lightning_scheduler/ tests/ src/ FunctionalJavascript/ UiTest.php
File
- modules/
lightning_scheduler/ tests/ src/ Traits/ SchedulerUiTrait.php, line 103
Class
- SchedulerUiTrait
- Contains methods for interacting with the scheduler UI.
Namespace
Drupal\Tests\lightning_scheduler\TraitsCode
protected function setTimeStep($time_step = 1) {
$this
->config('lightning_scheduler.settings')
->set('time_step', $time_step)
->save();
}