You are here

public function RuleSchedule::setInQueue in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/RuleSchedule.php \Drupal\rng\Entity\RuleSchedule::setInQueue()
  2. 8 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\Entity\RuleScheduleInterface Returns rule schedule for chaining.

Overrides RuleScheduleInterface::setInQueue

File

src/Entity/RuleSchedule.php, line 60

Class

RuleSchedule
Defines the rule scheduler entity.

Namespace

Drupal\rng\Entity

Code

public function setInQueue($in_queue) {
  $this
    ->set('in_queue', $in_queue);
  return $this;
}