You are here

public static function DatabaseQueue::create in Queue UI 8.2

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

array $configuration:

string $plugin_id:

mixed $plugin_definition:

Return value

\Drupal\Core\Plugin\ContainerFactoryPluginInterface|\Drupal\queue_ui\Plugin\QueueUI\DatabaseQueue

Overrides ContainerFactoryPluginInterface::create

File

src/Plugin/QueueUI/DatabaseQueue.php, line 35

Class

DatabaseQueue
Defines the default Drupal Queue UI backend

Namespace

Drupal\queue_ui\Plugin\QueueUI

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('database'));
}