public function RuleSchedule::setInQueue in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Entity/RuleSchedule.php \Drupal\rng\Entity\RuleSchedule::setInQueue()
- 3.x src/Entity/RuleSchedule.php \Drupal\rng\Entity\RuleSchedule::setInQueue()
Set if the rule schedule is added to the queue.
Parameters
bool $in_queue: Whether the rule has been added to the queue for execution.
Return value
\Drupal\rng\RuleScheduleInterface Returns rule schedule for chaining.
Overrides RuleScheduleInterface::setInQueue
File
- src/
Entity/ RuleSchedule.php, line 61
Class
- RuleSchedule
- Defines the rule scheduler entity.
Namespace
Drupal\rng\EntityCode
public function setInQueue($in_queue) {
$this
->set('in_queue', $in_queue);
return $this;
}