Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SuspendQueueException.php

function 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);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal