Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / contextual / tests / modules / contextual_test / src / Controller / TestController.php
diff --git a/web/core/modules/contextual/tests/modules/contextual_test/src/Controller/TestController.php b/web/core/modules/contextual/tests/modules/contextual_test/src/Controller/TestController.php
new file mode 100644 (file)
index 0000000..099f00c
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+namespace Drupal\contextual_test\Controller;
+
+/**
+ * Test controller to provide a callback for the contextual link.
+ */
+class TestController {
+
+  /**
+   * Callback for the contextual link.
+   *
+   * @return array
+   *   Render array.
+   */
+  public function render() {
+    return [
+      '#type' => 'markup',
+      '#markup' => 'Everything is contextual!',
+    ];
+  }
+
+}