You are here

public function InvalidPluginDefinitionException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException::__construct()

Constructs a InvalidPluginDefinitionException.

Parameters

string $plugin_id: The plugin ID of the mapper.

See also

\Exception for the remaining parameters.

File

core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php, line 30
Contains \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException.

Class

InvalidPluginDefinitionException
Defines a class for invalid plugin definition exceptions.

Namespace

Drupal\Component\Plugin\Exception

Code

public function __construct($plugin_id, $message = '', $code = 0, \Exception $previous = NULL) {
  $this->pluginId = $plugin_id;
  parent::__construct($message, $code, $previous);
}