public function BynderTestImageRemove::__construct in Bynder 8
Same name and namespace in other branches
- 8.3 src/Plugin/QueueWorker/BynderTestImageRemove.php \Drupal\bynder\Plugin\QueueWorker\BynderTestImageRemove::__construct()
- 8.2 src/Plugin/QueueWorker/BynderTestImageRemove.php \Drupal\bynder\Plugin\QueueWorker\BynderTestImageRemove::__construct()
- 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\QueueWorkerCode
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;
}