function DrupalKernel::getExtensions

Get the core.extension config object.

Return value

array|false The core.extension config object if it exists or FALSE.

3 calls to DrupalKernel::getExtensions()
DrupalKernel::discoverServiceProviders in core/lib/Drupal/Core/DrupalKernel.php
Discovers available serviceProviders.
DrupalKernel::getInstallProfile in core/lib/Drupal/Core/DrupalKernel.php
Gets the active install profile.
InstallerKernel::getExtensions in core/lib/Drupal/Core/Installer/InstallerKernel.php
Get the core.extension config object.
1 method overrides DrupalKernel::getExtensions()
InstallerKernel::getExtensions in core/lib/Drupal/Core/Installer/InstallerKernel.php
Get the core.extension config object.

File

core/lib/Drupal/Core/DrupalKernel.php, line 1724

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected function getExtensions() : array|false {
    return $this->getConfigStorage()
        ->read('core.extension');
}

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