diff options
Diffstat (limited to 'modules/bhavika/welcome/src/Controller/WelcomeController.php')
-rw-r--r-- | modules/bhavika/welcome/src/Controller/WelcomeController.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/bhavika/welcome/src/Controller/WelcomeController.php b/modules/bhavika/welcome/src/Controller/WelcomeController.php new file mode 100644 index 0000000..067b08e --- /dev/null +++ b/modules/bhavika/welcome/src/Controller/WelcomeController.php @@ -0,0 +1,25 @@ +<?php + +namespace Drupal\welcome\Controller; + +use Drupal\Core\Controller\ControllerBase; + +/** + * Class WelcomeController. + */ +class WelcomeController extends ControllerBase { + + /** + * Welcome. + * + * @return string + * Return Hello string. + */ + public function welcome() { + return [ + '#type' => 'markup', + '#markup' => $this->t('Implement method: welcome') + ]; + } + +} |