You are here

public function EntityQueueHandlerBase::__construct in Entityqueue 8

Constructs a \Drupal\Component\Plugin\PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

2 calls to EntityQueueHandlerBase::__construct()
Multiple::__construct in src/Plugin/EntityQueueHandler/Multiple.php
Constructs a Multiple queue handler object.
Simple::__construct in src/Plugin/EntityQueueHandler/Simple.php
Constructs a Simple queue handler object.
2 methods override EntityQueueHandlerBase::__construct()
Multiple::__construct in src/Plugin/EntityQueueHandler/Multiple.php
Constructs a Multiple queue handler object.
Simple::__construct in src/Plugin/EntityQueueHandler/Simple.php
Constructs a Simple queue handler object.

File

src/EntityQueueHandlerBase.php, line 30

Class

EntityQueueHandlerBase
Base class for EntityQueueHandler plugins.

Namespace

Drupal\entityqueue

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this
    ->setConfiguration($configuration);
}