diff --git a/core/modules/system/src/Form/ThemeSettingsForm.php b/core/modules/system/src/Form/ThemeSettingsForm.php
index c38ce86..1b45762 100644
--- a/core/modules/system/src/Form/ThemeSettingsForm.php
+++ b/core/modules/system/src/Form/ThemeSettingsForm.php
@@ -285,9 +285,8 @@ public function buildForm(array $form, FormStateInterface $form_state, $theme =
}
$element['#description'] = t('Enter a path to an image. Drupal will look for the file relative to the Drupal root or the public file system. Explicitly using public://
before the path will only look in the public file system. Examples: @local-file
or @explicit-file
', array(
- '@implicit-public-file' => isset($friendly_path) ? $friendly_path : $default,
- '@explicit-file' => file_uri_scheme($original_path) !== FALSE ? $original_path : 'public://' . $default,
'@local-file' => $local_file,
+ '@explicit-file' => file_uri_scheme($original_path) !== FALSE ? $original_path : 'public://' . $default,
));
}
}
diff --git a/core/modules/system/src/Tests/System/ThemeTest.php b/core/modules/system/src/Tests/System/ThemeTest.php
index d01cb40..931bc89 100644
--- a/core/modules/system/src/Tests/System/ThemeTest.php
+++ b/core/modules/system/src/Tests/System/ThemeTest.php
@@ -103,12 +103,10 @@ function testThemeSettings() {
':description' => 'description',
));
// Expected default values (if all else fails).
- $implicit_public_file = 'logo.svg';
$explicit_file = 'public://logo.svg';
$local_file = $default_theme_path . '/logo.svg';
// Adjust for fully qualified stream wrapper URI in public filesystem.
if (file_uri_scheme($input) == 'public') {
- $implicit_public_file = file_uri_target($input);
$explicit_file = $input;
$local_file = strtr($input, array('public:/' => PublicStream::basePath()));
}
@@ -118,7 +116,6 @@ function testThemeSettings() {
}
// Adjust for relative path within public filesystem.
elseif ($input == file_uri_target($file->uri)) {
- $implicit_public_file = $input;
$explicit_file = 'public://' . $input;
$local_file = PublicStream::basePath() . '/' . $input;
}