public ImageToolkitOperationBase::__construct(array $configuration, $plugin_id, array $plugin_definition, ImageToolkitInterface $toolkit, LoggerInterface $logger)
Constructs an image toolkit operation plugin.
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
array $plugin_definition: The plugin implementation definition.
\Drupal\Core\ImageToolkit\ImageToolkitInterface $toolkit: The image toolkit.
\Psr\Log\LoggerInterface $logger: A logger instance.
Overrides PluginBase::__construct
public function __construct(array $configuration, $plugin_id, array $plugin_definition, ImageToolkitInterface $toolkit, LoggerInterface $logger) { parent::__construct($configuration, $plugin_id, $plugin_definition); $this->toolkit = $toolkit; $this->logger = $logger; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!ImageToolkit!ImageToolkitOperationBase.php/function/ImageToolkitOperationBase::__construct/8.1.x