interface QueueWorkerManagerInterface in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Queue/QueueWorkerManagerInterface.php \Drupal\Core\Queue\QueueWorkerManagerInterface
- 9 core/lib/Drupal/Core/Queue/QueueWorkerManagerInterface.php \Drupal\Core\Queue\QueueWorkerManagerInterface
Provides an interface for a queue worker manager.
Hierarchy
- interface \Drupal\Component\Plugin\Discovery\DiscoveryInterface; interface \Drupal\Component\Plugin\Factory\FactoryInterface; interface \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\Core\Queue\QueueWorkerManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
Expanded class hierarchy of QueueWorkerManagerInterface
All classes that implement QueueWorkerManagerInterface
2 files declare their use of QueueWorkerManagerInterface
- Cron.php in core/
lib/ Drupal/ Core/ Cron.php - 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\QueueView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 4 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 3 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 1 |
FactoryInterface:: |
public | function | Creates a pre-configured instance of a plugin. | 5 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 3 |
QueueWorkerManagerInterface:: |
public | constant | The default time duration in seconds spent calling a queue worker. |