public function SchedulerContext::addInHoursFromNow in Lightning Workflow 8.2
Schedules a transition to take place a certain number of hours from now.
@When I schedule a transition to :state in :n hour(s)
Parameters
string $state: The destination state of the transition.
int $n: The number of hours.
1 call to SchedulerContext::addInHoursFromNow()
- SchedulerContext::addInDaysFromNow in modules/
lightning_scheduler/ tests/ contexts/ SchedulerContext.behat.inc - Schedules a transition to take place a certain number of days from now.
File
- modules/
lightning_scheduler/ tests/ contexts/ SchedulerContext.behat.inc, line 200
Class
- SchedulerContext
- Contains step definitions for interacting with the Lightning Scheduler UI.
Namespace
Acquia\LightningExtension\ContextCode
public function addInHoursFromNow($state, $n) {
$this
->addInMinutesFromNow($state, $n * 60);
}