public function PluginNotFoundException::__construct in Image Optimize (or ImageAPI Optimize) 8.2
Same name and namespace in other branches
- 8.3 src/Exception/PluginNotFoundException.php \Drupal\imageapi_optimize\Exception\PluginNotFoundException::__construct()
- 4.x src/Exception/PluginNotFoundException.php \Drupal\imageapi_optimize\Exception\PluginNotFoundException::__construct()
@inheritDoc
Overrides PluginNotFoundException::__construct
File
- src/
Exception/ PluginNotFoundException.php, line 21
Class
- PluginNotFoundException
- Plugin not found exception so we can retrieve the plugin ID
Namespace
Drupal\imageapi_optimize\ExceptionCode
public function __construct($plugin_id, $message = '', $code = 0, \Exception $previous = NULL) {
parent::__construct($plugin_id, $message, $code, $previous);
$this->pluginId = $plugin_id;
}