function ConfigInstaller::drupalGetProfile
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::drupalGetProfile()
- 8.9.x core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::drupalGetProfile()
- 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.
4 calls to ConfigInstaller::drupalGetProfile()
- ConfigInstaller::checkConfigurationToInstall in core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php - ConfigInstaller::getProfileStorages in core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php - Gets the profile storage to use to check for profile overrides.
- ConfigInstaller::installDefaultConfig in core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php - ConfigInstaller::installOptionalConfig in core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php, line 724
Class
Namespace
Drupal\Core\ConfigCode
protected function drupalGetProfile() {
return $this->installProfile;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.