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

Breadcrumb

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

function ContainerBuilder::getExtensionConfig

Returns the configuration array for the given extension.

Return value

array<array<string, mixed>>

File

vendor/symfony/dependency-injection/ContainerBuilder.php, line 734

Class

ContainerBuilder
ContainerBuilder is a DI container that provides an API to easily describe services.

Namespace

Symfony\Component\DependencyInjection

Code

public function getExtensionConfig(string $name) : array {
    if (!isset($this->extensionConfigs[$name])) {
        $this->extensionConfigs[$name] = [];
    }
    return $this->extensionConfigs[$name];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal