function InvalidPluginDefinitionException::__construct
Same name in other branches
- 9 core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException::__construct()
- 10 core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException::__construct()
- 11.x core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException::__construct()
Constructs a InvalidPluginDefinitionException.
For the remaining parameters see \Exception.
Parameters
string $plugin_id: The plugin ID of the mapper.
See also
\Exception
1 call to InvalidPluginDefinitionException::__construct()
- BadPluginDefinitionException::__construct in core/
modules/ migrate/ src/ Plugin/ Exception/ BadPluginDefinitionException.php - Constructs a BadPluginDefinitionException.
1 method overrides InvalidPluginDefinitionException::__construct()
- BadPluginDefinitionException::__construct in core/
modules/ migrate/ src/ Plugin/ Exception/ BadPluginDefinitionException.php - Constructs a BadPluginDefinitionException.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Exception/ InvalidPluginDefinitionException.php, line 27
Class
- InvalidPluginDefinitionException
- Defines a class for invalid plugin definition exceptions.
Namespace
Drupal\Component\Plugin\ExceptionCode
public function __construct($plugin_id, $message = '', $code = 0, \Exception $previous = NULL) {
$this->pluginId = $plugin_id;
parent::__construct($message, $code, $previous);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.