class QueueWorkerBase

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Queue/QueueWorkerBase.php \Drupal\Core\Queue\QueueWorkerBase
  2. 10 core/lib/Drupal/Core/Queue/QueueWorkerBase.php \Drupal\Core\Queue\QueueWorkerBase
  3. 11.x core/lib/Drupal/Core/Queue/QueueWorkerBase.php \Drupal\Core\Queue\QueueWorkerBase

Provides a base implementation for a QueueWorker plugin.

Hierarchy

Expanded class hierarchy of QueueWorkerBase

See also

\Drupal\Core\Queue\QueueWorkerInterface

\Drupal\Core\Queue\QueueWorkerManager

\Drupal\Core\Annotation\QueueWorker

Plugin API

Related topics

9 files declare their use of QueueWorkerBase
AggregatorRefresh.php in core/modules/aggregator/src/Plugin/QueueWorker/AggregatorRefresh.php
CronQueueTestBrokenQueue.php in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestBrokenQueue.php
CronQueueTestDatabaseDelayException.php in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestDatabaseDelayException.php
CronQueueTestException.php in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestException.php
CronQueueTestLeaseTime.php in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php

... See full list

File

core/lib/Drupal/Core/Queue/QueueWorkerBase.php, line 17

Namespace

Drupal\Core\Queue
View source
abstract class QueueWorkerBase extends PluginBase implements QueueWorkerInterface {

}

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