diff --git a/core/lib/Drupal/Component/Utility/Settings.php b/core/lib/Drupal/Component/Utility/Settings.php index e0c304e..f6f5e91 100644 --- a/core/lib/Drupal/Component/Utility/Settings.php +++ b/core/lib/Drupal/Component/Utility/Settings.php @@ -93,7 +93,7 @@ function __construct(array $settings) { * @return mixed * The value of the setting, the provided default if not set. */ - private function getSetting($name, $default = NULL) { + public function getSetting($name, $default = NULL) { return isset($this->storage[$name]) ? $this->storage[$name] : $default; } @@ -103,7 +103,7 @@ private function getSetting($name, $default = NULL) { * @return array * All the settings. */ - private function getAllSettings() { + public function getAllSettings() { return $this->storage; }