Version 1
[yaffs-website] / web / modules / contrib / metatag / tests / modules / metatag_test_custom_route / src / Controller / MetatagTestCustomRouteController.php
diff --git a/web/modules/contrib/metatag/tests/modules/metatag_test_custom_route/src/Controller/MetatagTestCustomRouteController.php b/web/modules/contrib/metatag/tests/modules/metatag_test_custom_route/src/Controller/MetatagTestCustomRouteController.php
new file mode 100644 (file)
index 0000000..20c51d8
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+namespace Drupal\metatag_test_custom_route\Controller;
+
+use Drupal\Core\Controller\ControllerBase;
+
+/**
+ * Testing routes for Metatag tests.
+ */
+class MetatagTestCustomRouteController extends ControllerBase {
+
+  /**
+   * Constructs a page for integration testing.
+   */
+  public function test() {
+    $render = [
+      '#markup' => $this->t('<p>Hello world!</p>', []),
+    ];
+
+    return $render;
+  }
+
+}