function MockPhpStorage::getConfigurationValue

Same name in other branches
  1. 9 core/modules/system/src/PhpStorage/MockPhpStorage.php \Drupal\system\PhpStorage\MockPhpStorage::getConfigurationValue()
  2. 10 core/modules/system/src/PhpStorage/MockPhpStorage.php \Drupal\system\PhpStorage\MockPhpStorage::getConfigurationValue()
  3. 11.x 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 36

Class

MockPhpStorage
Mock PHP storage class used for testing.

Namespace

Drupal\system\PhpStorage

Code

public function getConfigurationValue($key) {
    return isset($this->configuration[$key]) ? $this->configuration[$key] : NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.