interface QueueWorkerManagerInterface
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Queue/QueueWorkerManagerInterface.php \Drupal\Core\Queue\QueueWorkerManagerInterface
- 8.9.x core/lib/Drupal/Core/Queue/QueueWorkerManagerInterface.php \Drupal\Core\Queue\QueueWorkerManagerInterface
- 11.x 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 implements \Drupal\Component\Plugin\Discovery\DiscoveryInterface, \Drupal\Component\Plugin\Factory\FactoryInterface, \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\Core\Queue\QueueWorkerManagerInterface implements \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface implements \Drupal\Component\Plugin\Discovery\DiscoveryInterface, \Drupal\Component\Plugin\Factory\FactoryInterface, \Drupal\Component\Plugin\Mapper\MapperInterface
Expanded class hierarchy of QueueWorkerManagerInterface
All classes that implement QueueWorkerManagerInterface
3 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 - CronSuspendQueueDelayTest.php in core/
tests/ Drupal/ Tests/ Core/ Cron/ CronSuspendQueueDelayTest.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
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
DiscoveryInterface::getDefinition | public | function | Gets a specific plugin definition. | 4 |
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. | 1 |
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. | 3 |
QueueWorkerManagerInterface::DEFAULT_QUEUE_CRON_TIME | public | constant | The default time duration in seconds spent calling a queue worker. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.