protected ConfigInstaller::drupalGetProfile()
Gets the install profile from settings.
Return value
string|null $profile 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 646
Class
Namespace
Drupal\Core\Config
Code
protected function drupalGetProfile() { // Settings is safe to use because settings.php is written before any module // is installed. return Settings::get('install_profile'); }
Please login to continue.