function ConfigInstaller::drupalGetProfile

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::drupalGetProfile()

Gets the install profile from settings.

Return value

string|null The name of the installation profile or NULL if no installation profile is currently active. This is the case for example during the first steps of the installer or during unit tests.

File

core/lib/Drupal/Core/Config/ConfigInstaller.php, line 751

Class

ConfigInstaller

Namespace

Drupal\Core\Config

Code

protected function drupalGetProfile() {
  return $this->installProfile;
}

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