InstantQueueRunnerInterface.php

Same filename and directory in other branches
  1. 11.x core/lib/Drupal/Core/Queue/InstantQueueRunnerInterface.php

Namespace

Drupal\Core\Queue

File

core/lib/Drupal/Core/Queue/InstantQueueRunnerInterface.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\Queue;


/**
 * Provides an interface for adding queues to be run instantly.
 */
interface InstantQueueRunnerInterface {
  
  /**
   * Registers a queue to be run by the instant queue runner.
   *
   * @param string $queue_name
   *   The queue name.
   */
  public function registerQueue(string $queue_name) : void;

}

Interfaces

Title Deprecated Summary
InstantQueueRunnerInterface Provides an interface for adding queues to be run instantly.

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