summaryrefslogtreecommitdiff
path: root/modules/esha/achievements/src/Controller/achievementController.php
diff options
context:
space:
mode:
authorFahad Israr2019-07-03 13:22:13 +0530
committerFahad Israr2019-07-03 13:22:13 +0530
commitfd04311179377ce2b4c5697be2ae2a2b51a1b2f3 (patch)
tree8fd529d45e37612de276b07be5caaa7335114c9a /modules/esha/achievements/src/Controller/achievementController.php
parent35646d229739b283da6cf1e0958f1f7d28062442 (diff)
parent58dbf8fcb04c01c338b9e346b8266690c8b92a2f (diff)
downloadacadmix_distribution-fd04311179377ce2b4c5697be2ae2a2b51a1b2f3.tar.gz
acadmix_distribution-fd04311179377ce2b4c5697be2ae2a2b51a1b2f3.tar.bz2
acadmix_distribution-fd04311179377ce2b4c5697be2ae2a2b51a1b2f3.zip
Merge branch 'master' of https://github.com/FOSSEE/acadmix_distribution
Diffstat (limited to 'modules/esha/achievements/src/Controller/achievementController.php')
-rw-r--r--modules/esha/achievements/src/Controller/achievementController.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/esha/achievements/src/Controller/achievementController.php b/modules/esha/achievements/src/Controller/achievementController.php
new file mode 100644
index 0000000..04f947e
--- /dev/null
+++ b/modules/esha/achievements/src/Controller/achievementController.php
@@ -0,0 +1,25 @@
+<?php
+
+namespace Drupal\achievements\Controller;
+
+use Drupal\Core\Controller\ControllerBase;
+
+/**
+ * Class achievementController.
+ */
+class achievementController extends ControllerBase {
+
+ /**
+ * Hello.
+ *
+ * @return string
+ * Return Hello string.
+ */
+ public function hello($name) {
+ return [
+ '#type' => 'markup',
+ '#markup' => $this->t('Implement method: hello with parameter(s): $name'),
+ ];
+ }
+
+}