You are here

public function InvalidPluginDefinitionException::__construct in Service Container 7.2

Same name and namespace in other branches
  1. 7 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

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