public function MockPhpStorage::getConfigurationValue in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/PhpStorage/MockPhpStorage.php \Drupal\system\PhpStorage\MockPhpStorage::getConfigurationValue()
- 9 core/modules/system/src/PhpStorage/MockPhpStorage.php \Drupal\system\PhpStorage\MockPhpStorage::getConfigurationValue()
Gets a single configuration key.
File
- core/
modules/ system/ src/ PhpStorage/ MockPhpStorage.php, line 37
Class
- MockPhpStorage
- Mock PHP storage class used for testing.
Namespace
Drupal\system\PhpStorageCode
public function getConfigurationValue($key) {
return $this->configuration[$key] ?? NULL;
}