summaryrefslogtreecommitdiff
path: root/modules/esha/lab/lab.module
diff options
context:
space:
mode:
authorNitesh Kumar Sinha2019-07-02 13:08:31 +0530
committerGitHub2019-07-02 13:08:31 +0530
commit2ab059c88b1353a8e382f302ce9c2b6c2ef018ad (patch)
tree2086c9224072aa7b917da20487b232eb2ef0666e /modules/esha/lab/lab.module
parent847360bf5ac011771dc013677542ece7b356a528 (diff)
parent141ce8c97abe36f1f8bb06a38623e93563d6c618 (diff)
downloadacadmix_distribution-2ab059c88b1353a8e382f302ce9c2b6c2ef018ad.tar.gz
acadmix_distribution-2ab059c88b1353a8e382f302ce9c2b6c2ef018ad.tar.bz2
acadmix_distribution-2ab059c88b1353a8e382f302ce9c2b6c2ef018ad.zip
Merge pull request #8 from eshadutta9/master
Esha "custom modules added"
Diffstat (limited to 'modules/esha/lab/lab.module')
-rw-r--r--modules/esha/lab/lab.module35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/esha/lab/lab.module b/modules/esha/lab/lab.module
new file mode 100644
index 0000000..65a0b7e
--- /dev/null
+++ b/modules/esha/lab/lab.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains lab.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function lab_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the lab module.
+ case 'help.page.lab':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('Module for Lab Content Tyoe') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function lab_theme() {
+ return [
+ 'lab' => [
+ 'render element' => 'children',
+ ],
+ ];
+}