PluginNotFoundException.php in Image Optimize (or ImageAPI Optimize) 8.3
File
src/Exception/PluginNotFoundException.php
View source
<?php
namespace Drupal\imageapi_optimize\Exception;
use Drupal\Component\Plugin\Exception\PluginNotFoundException as CorePluginNotFoundException;
class PluginNotFoundException extends CorePluginNotFoundException {
protected $pluginId;
public function __construct($plugin_id, $message = '', $code = 0, \Exception $previous = NULL) {
parent::__construct($plugin_id, $message, $code, $previous);
$this->pluginId = $plugin_id;
}
public function getPluginId() {
return $this->pluginId;
}
}