You are here

public function PreExistingConfigException::getExtension in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/PreExistingConfigException.php \Drupal\Core\Config\PreExistingConfigException::getExtension()
  2. 10 core/lib/Drupal/Core/Config/PreExistingConfigException.php \Drupal\Core\Config\PreExistingConfigException::getExtension()

Gets the name of the extension that is being installed.

Return value

string The name of the extension that is being installed.

File

core/lib/Drupal/Core/Config/PreExistingConfigException.php, line 43

Class

PreExistingConfigException
An exception thrown if configuration with the same name already exists.

Namespace

Drupal\Core\Config

Code

public function getExtension() {
  return $this->extension;
}