protected function ConfigInstaller::drupalGetProfile in Drupal 9
Same name and namespace in other branches
- 8 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 - Checks the configuration that will be installed for an extension.
- 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 - Installs the default configuration of a given extension.
- ConfigInstaller::installOptionalConfig in core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php - Installs optional configuration.
File
- core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php, line 747
Class
Namespace
Drupal\Core\ConfigCode
protected function drupalGetProfile() {
return $this->installProfile;
}