class QueueWorkerBase

Same name and namespace in other branches
  1. 9 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

6 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
CronQueueTestException.php in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestException.php
CronQueueTestRequeueException.php in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestRequeueException.php
LocaleTranslation.php in core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php

... See full list

File

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

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.