You are here

public function BynderTestImageRemove::__construct in Bynder 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/QueueWorker/BynderTestImageRemove.php \Drupal\bynder\Plugin\QueueWorker\BynderTestImageRemove::__construct()
  2. 8 src/Plugin/QueueWorker/BynderTestImageRemove.php \Drupal\bynder\Plugin\QueueWorker\BynderTestImageRemove::__construct()
  3. 4.0.x src/Plugin/QueueWorker/BynderTestImageRemove.php \Drupal\bynder\Plugin\QueueWorker\BynderTestImageRemove::__construct()

BynderTestImageRemove constructor.

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.

\Drupal\bynder\BynderApiInterface $bynder: The Bynder API service.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/BynderTestImageRemove.php, line 59

Class

BynderTestImageRemove
Removes uploaded test images.

Namespace

Drupal\bynder\Plugin\QueueWorker

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, BynderApiInterface $bynder, TimeInterface $time) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->bynder = $bynder;
  $this->time = $time;
}