Since the CKEditorAdvancedTab class now implements ContainerFactoryPluginInterface, it can inject the string_translation service in its constructor, which will then pass it to $this->setStringTranslation().

Instead of t(), the class should also use $this->t() to translate its strings.

Comments

apaderno created an issue. See original summary.

  • apaderno committed 30f805e on 2.0.x
    Issue #3257740 by apaderno: Inject the string_translation service in the...

  • apaderno committed ca380e8 on 8.x-1.x
    Issue #3257740 by apaderno: Inject the string_translation service in the...
apaderno’s picture

Version: 2.0.x-dev » 8.x-1.x-dev
apaderno’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.