Commit 95cb8625 authored by alexpott's avatar alexpott

Issue #3058839 by init90: Incorrect @see link in file_default_scheme() deprecation

parent 3839c0d3
......@@ -158,7 +158,7 @@ function file_uri_target($uri) {
* @see https://www.drupal.org/node/3049030
*/
function file_default_scheme() {
@trigger_error('file_default_scheme() is deprecated in drupal:8.8.0. It will be removed from drupal:9.0.0. Use \Drupal::config(\'system.file\')->get(\'default_scheme\') instead. See https://www.drupal.org/project/paragraphs/issues/3049030', E_USER_DEPRECATED);
@trigger_error('file_default_scheme() is deprecated in drupal:8.8.0. It will be removed from drupal:9.0.0. Use \Drupal::config(\'system.file\')->get(\'default_scheme\') instead. See https://www.drupal.org/node/3049030', E_USER_DEPRECATED);
return \Drupal::config('system.file')->get('default_scheme');
}
......
......@@ -178,7 +178,7 @@ public function testUnlink() {
}
/**
* @expectedDeprecation file_default_scheme() is deprecated in drupal:8.8.0. It will be removed from drupal:9.0.0. Use \Drupal::config('system.file')->get('default_scheme') instead. See https://www.drupal.org/project/paragraphs/issues/3049030
* @expectedDeprecation file_default_scheme() is deprecated in drupal:8.8.0. It will be removed from drupal:9.0.0. Use \Drupal::config('system.file')->get('default_scheme') instead. See https://www.drupal.org/node/3049030
*/
public function testDeprecatedDefaultScheme() {
$this->assertNotNull(file_default_scheme());
......
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