Commit 37bcc5a5 authored by alexpott's avatar alexpott

Issue #2457469 by nlisgo, ianthomas_uk, Luukyb, joshi.rohit100, cilefen,...

Issue #2457469 by nlisgo, ianthomas_uk, Luukyb, joshi.rohit100, cilefen, Mile23: Remove usages of conf_path()
parent 3a8d44b7
......@@ -1071,7 +1071,7 @@ public function __get($name) {
trigger_error(sprintf("KernelTestBase::\$%s no longer exists. Use the regular API method to retrieve it instead (e.g., Settings).", $name), E_USER_DEPRECATED);
switch ($name) {
case 'public_files_directory':
return Settings::get('file_public_path', conf_path() . '/files');
return Settings::get('file_public_path', \Drupal::service('site.path') . '/files');
case 'private_files_directory':
return $this->container->get('config.factory')->get('system.file')->get('path.private');
......@@ -1080,7 +1080,7 @@ public function __get($name) {
return file_directory_temp();
case 'translation_files_directory':
return Settings::get('file_public_path', conf_path() . '/translations');
return Settings::get('file_public_path', \Drupal::service('site.path') . '/translations');
}
}
......
......@@ -50,6 +50,6 @@
* @endcode
*
* @see default.settings.php
* @see conf_path()
* @see \Drupal\Core\DrupalKernel::getSitePath()
* @see https://www.drupal.org/documentation/install/multi-site
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment