Commit 48dbd8f7 authored by catch's avatar catch
Browse files

Issue #2820979 by lomasr, icicleking, arunkumark, anish.a, jaiiali, Wim Leers:...

Issue #2820979 by lomasr, icicleking, arunkumark, anish.a, jaiiali, Wim Leers: Broken link in description of CKEditor language plugin
parent 380e6523
......@@ -8,7 +8,6 @@
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Language\LanguageManager;
use Drupal\Core\Language\LanguageInterface;
use Drupal\Core\Url;
use Drupal\editor\Entity\Editor;
/**
......@@ -115,7 +114,7 @@ public function settingsForm(array $form, FormStateInterface $form_state, Editor
],
'#default_value' => $config['language_list'],
'#description' => $this->t('The list of languages to show in the language dropdown. The basic list will only show the <a href=":url">six official languages of the UN</a>. The extended list will show all @count languages that are available in Drupal.', [
':url' => Url::fromUri('http://www.un.org/en/aboutun/languages.shtml/')->toString(),
':url' => 'https://www.un.org/en/sections/about-un/official-languages',
'@count' => count($predefined_languages),
]),
'#attached' => ['library' => ['ckeditor/drupal.ckeditor.language.admin']],
......
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