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

Breadcrumb

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

function SuspendQueueException::getDelay

Get the desired delay interval for this item.

Return value

float|null If the time for when the queue will be ready to resume processing is known, pass an interval in seconds. Otherwise NULL if the time to resume processing the queue is not known.

File

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

Class

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

Namespace

Drupal\Core\Queue

Code

public function getDelay() : ?float {
    return $this->delay;
}

API Navigation

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