You are here

public function InvalidPluginDefinitionException::getPluginId in Drupal 9

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

Gets the plugin ID of the mapper that raised the exception.

Return value

string The plugin ID.

File

core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php, line 42

Class

InvalidPluginDefinitionException
Defines a class for invalid plugin definition exceptions.

Namespace

Drupal\Component\Plugin\Exception

Code

public function getPluginId() {
  return $this->pluginId;
}