You are here

public function InvalidPluginDefinitionException::__construct in Plug 7

Constructs a InvalidPluginDefinitionException.

Parameters

string $plugin_id: The plugin ID of the mapper.

See also

\Exception for the remaining parameters.

File

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);
}