function InvalidPluginDefinitionException::getPluginId

Same name in other branches
  1. 9 core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException::getPluginId()
  2. 8.9.x core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException::getPluginId()
  3. 10 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.