function QueueWorkerManager::createInstance

Same name in other branches
  1. 9 core/lib/Drupal/Core/Queue/QueueWorkerManager.php \Drupal\Core\Queue\QueueWorkerManager::createInstance()
  2. 8.9.x core/lib/Drupal/Core/Queue/QueueWorkerManager.php \Drupal\Core\Queue\QueueWorkerManager::createInstance()
  3. 11.x core/lib/Drupal/Core/Queue/QueueWorkerManager.php \Drupal\Core\Queue\QueueWorkerManager::createInstance()

Return value

\Drupal\Core\Queue\QueueWorkerInterface

Overrides PluginManagerBase::createInstance

File

core/lib/Drupal/Core/Queue/QueueWorkerManager.php, line 62

Class

QueueWorkerManager
Defines the queue worker manager.

Namespace

Drupal\Core\Queue

Code

public function createInstance($plugin_id, array $configuration = []) {
    return parent::createInstance($plugin_id, $configuration);
}

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