Commit d3e4632a authored by webchick's avatar webchick

Issue #2121953 by TR: Fixed Use existing $config variable instead of Drupal::config().

parent b8adc1c4
......@@ -44,7 +44,7 @@ public function buildForm(array $form, array &$form_state) {
'#default_value' => $config->get('translation.check_disabled_modules'),
if ($directory =\Drupal::config('locale.settings')->get('translation.path')) {
if ($directory = $config->get('translation.path')) {
$description = t('Translation files are stored locally in the %path directory. You can change this directory on the <a href="@url">File system</a> configuration page.', array('%path' => $directory, '@url' => url('admin/config/media/file-system')));
else {
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