diff --git a/src/Plugin/CKEditorPlugin/CodeSnippet.php b/src/Plugin/CKEditorPlugin/CodeSnippet.php index 07edb83ad63cd0635ae0c14f03fc077798673431..b539bcac7d379d7a1e91e1a60a175aadb20e7205 100644 --- a/src/Plugin/CKEditorPlugin/CodeSnippet.php +++ b/src/Plugin/CKEditorPlugin/CodeSnippet.php @@ -65,7 +65,7 @@ class CodeSnippet extends CKEditorPluginBase implements CKEditorPluginConfigurab $form['highlight_style'] = array( '#type' => 'select', '#title' => 'highlight.js Style', - '#description' => t('Select a style to apply to all highlighted code snippets. You can preview the styles at !link.', array('!link' => \Drupal::l('https://highlightjs.org/static/demo', Url::fromUri('https://highlightjs.org/static/demo/')))), + '#description' => $this->t('Select a style to apply to all highlighted code snippets. You can preview the styles at @link.', array('@link' => \Drupal::l('https://highlightjs.org/static/demo', Url::fromUri('https://highlightjs.org/static/demo/')))), '#options' => $styles, '#default_value' => !empty($settings['plugins']['codesnippet']['highlight_style']) ? $settings['plugins']['codesnippet']['highlight_style'] : 'arta', );