diff options
author | Esha | 2019-07-02 12:42:54 +0530 |
---|---|---|
committer | Esha | 2019-07-02 12:43:10 +0530 |
commit | 141ce8c97abe36f1f8bb06a38623e93563d6c618 (patch) | |
tree | 2086c9224072aa7b917da20487b232eb2ef0666e /modules/esha/achievements/src | |
parent | 847360bf5ac011771dc013677542ece7b356a528 (diff) | |
download | acadmix_distribution-141ce8c97abe36f1f8bb06a38623e93563d6c618.tar.gz acadmix_distribution-141ce8c97abe36f1f8bb06a38623e93563d6c618.tar.bz2 acadmix_distribution-141ce8c97abe36f1f8bb06a38623e93563d6c618.zip |
Custom modules
Diffstat (limited to 'modules/esha/achievements/src')
-rw-r--r-- | modules/esha/achievements/src/Controller/achievementController.php | 25 |
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'), + ]; + } + +} |