W3cubDocs

/Drupal 8

interface QueueWorkerInterface

Defines an interface for a QueueWorker plugin.

Hierarchy

See also

\Drupal\Core\Queue\QueueWorkerBase

\Drupal\Core\Queue\QueueWorkerManager

\Drupal\Core\Annotation\QueueWorker

Plugin API

File

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

Namespace

Drupal\Core\Queue

Members

Name Modifiers Type Description
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation.
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance.
QueueWorkerInterface::processItem public function Works on a single queue item.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Queue!QueueWorkerInterface.php/interface/QueueWorkerInterface/8.1.x