protected function TestFeaturesManager::drupalGetProfile in Features 8.4
Same name and namespace in other branches
- 8.3 tests/src/Unit/FeaturesManagerTest.php \Drupal\Tests\features\Unit\TestFeaturesManager::drupalGetProfile()
Gets the name of the currently active installation profile.
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.
Overrides FeaturesManager::drupalGetProfile
File
- tests/
src/ Unit/ FeaturesManagerTest.php, line 1027
Class
Namespace
Drupal\Tests\features\UnitCode
protected function drupalGetProfile() {
return FeaturesManagerTest::PROFILE_NAME;
}