function SuspendQueueException::isDelayable

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Queue/SuspendQueueException.php \Drupal\Core\Queue\SuspendQueueException::isDelayable()

Determine whether the next time the queue should be checked is known.

Return value

bool Whether the time to resume processing the queue is known.

File

core/lib/Drupal/Core/Queue/SuspendQueueException.php, line 61

Class

SuspendQueueException
Exception class to throw to indicate that a cron queue should be skipped.

Namespace

Drupal\Core\Queue

Code

public function isDelayable() : bool {
    return isset($this->delay);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.