Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Queue/QueueWorkerManagerInterface.php \Drupal\Core\Queue\QueueWorkerManagerInterface
  2. 9 core/lib/Drupal/Core/Queue/QueueWorkerManagerInterface.php \Drupal\Core\Queue\QueueWorkerManagerInterface

Provides an interface for a queue worker manager.

Hierarchy

Expanded class hierarchy of QueueWorkerManagerInterface

All classes that implement QueueWorkerManagerInterface

1 file declares its use of QueueWorkerManagerInterface
CronQueueTest.php in core/modules/system/tests/src/Kernel/System/CronQueueTest.php

File

core/lib/Drupal/Core/Queue/QueueWorkerManagerInterface.php, line 10

Namespace

Drupal\Core\Queue
View source
interface QueueWorkerManagerInterface extends PluginManagerInterface {

  /**
   * The default time duration in seconds spent calling a queue worker.
   *
   * @var int
   */
  public const DEFAULT_QUEUE_CRON_TIME = 15;

}

Members

Namesort descending Modifiers Type Description Overrides
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. 2
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type. 3
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists.
FactoryInterface::createInstance public function Creates a plugin instance based on the provided ID and configuration. 6
MapperInterface::getInstance public function Gets or creates a plugin instance that satisfies the given options. 2
QueueWorkerManagerInterface::DEFAULT_QUEUE_CRON_TIME public constant The default time duration in seconds spent calling a queue worker.