- Issue created by @nicxvan
Postponed on π Convert to OOP Hooks Active
Once that is in we can address all of the t() calls in hook classes and use the String Translation Trait.
Remove `DrupalPractice.Objects.GlobalFunction.GlobalFunction` ignore rule in phpcs.xml
Run code sniff
Add the following:
use Drupal\Core\StringTranslation\StringTranslationTrait;
use StringTranslationTrait;
Convert t()
to $this->t()
Change Hook.php classes
N/A
N/A
N/A
Active
6.3
Code