Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PreExistingConfigException.php

function 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;
}
RSS feed
Powered by Drupal