Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / metatag / tests / modules / metatag_test_custom_route / src / Controller / MetatagTestCustomRouteController.php
index ca3e50087c670c2b9c87710ef9bf8401657ae707..24a537cd1cc9303f64f1cc9ac5348b6f8b6d71c9 100644 (file)
@@ -14,7 +14,7 @@ class MetatagTestCustomRouteController extends ControllerBase {
    */
   public function test() {
     $render = [
-      '#markup' => t('<p>Hello world!</p>'),
+      '#markup' => $this->t('<p>Hello world!</p>'),
     ];
 
     return $render;