diff --git a/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php b/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php index 646eaa6..ca6d4a9 100644 --- a/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php +++ b/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php @@ -20,7 +20,7 @@ class LlamaButton extends Llama implements CKEditorPluginButtonsInterface { public function getButtons() { return [ 'Llama' => [ - 'label' => t('Insert Llama'), + 'label' => $this->t('Insert Llama'), ], ]; } diff --git a/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php b/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php index 3033904..c9a4d33 100644 --- a/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php +++ b/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php @@ -41,7 +41,7 @@ class LlamaContextualAndButton extends Llama implements CKEditorPluginContextual public function getButtons() { return [ 'Llama' => [ - 'label' => t('Insert Llama'), + 'label' => $this->t('Insert Llama'), ], ]; } @@ -65,7 +65,7 @@ class LlamaContextualAndButton extends Llama implements CKEditorPluginContextual } $form['ultra_llama_mode'] = [ - '#title' => t('Ultra llama mode'), + '#title' => $this->t('Ultra llama mode'), '#type' => 'checkbox', '#default_value' => $config['ultra_llama_mode'], ]; diff --git a/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php b/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php index 23ffc8b..15f60e0 100644 --- a/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php +++ b/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php @@ -22,7 +22,7 @@ class LlamaCss extends Llama implements CKEditorPluginButtonsInterface, CKEditor public function getButtons() { return [ 'LlamaCSS' => [ - 'label' => t('Insert Llama CSS'), + 'label' => $this->t('Insert Llama CSS'), ], ]; }