You are here

public function EntityQueueHandlerPluginCollection::__construct in Entityqueue 8

Constructs a new EntityQueueHandlerPluginCollection.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $manager: The manager to be used for instantiating plugins.

string $instance_id: The ID of the plugin instance.

array $configuration: An array of configuration.

\Drupal\entityqueue\EntityQueueInterface $queue: The entity queue using this plugin.

Overrides DefaultSingleLazyPluginCollection::__construct

File

src/EntityQueueHandlerPluginCollection.php, line 32

Class

EntityQueueHandlerPluginCollection
Provides a container for lazily loading EntityQueueHandler plugins.

Namespace

Drupal\entityqueue

Code

public function __construct(PluginManagerInterface $manager, $instance_id, array $configuration, EntityQueueInterface $queue) {
  $this->queue = $queue;
  parent::__construct($manager, $instance_id, $configuration);
}