summaryrefslogtreecommitdiff
path: root/modules/mansimran/student_clubs/student_clubs.module
diff options
context:
space:
mode:
authorNitesh Kumar Sinha2019-07-02 17:40:53 +0530
committerGitHub2019-07-02 17:40:53 +0530
commit58dbf8fcb04c01c338b9e346b8266690c8b92a2f (patch)
treeab16a85a8213c31f2abaf34e9d7df44a0f7132ac /modules/mansimran/student_clubs/student_clubs.module
parentc63a20a2e293cb104027480a5770406e3f17c514 (diff)
parent0d50e51638dac37bb5133b5024f2e44811e2745e (diff)
downloadacadmix_distribution-58dbf8fcb04c01c338b9e346b8266690c8b92a2f.tar.gz
acadmix_distribution-58dbf8fcb04c01c338b9e346b8266690c8b92a2f.tar.bz2
acadmix_distribution-58dbf8fcb04c01c338b9e346b8266690c8b92a2f.zip
Merge pull request #15 from FOSSEE/stage
merging Stage into master
Diffstat (limited to 'modules/mansimran/student_clubs/student_clubs.module')
-rwxr-xr-xmodules/mansimran/student_clubs/student_clubs.module35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/mansimran/student_clubs/student_clubs.module b/modules/mansimran/student_clubs/student_clubs.module
new file mode 100755
index 0000000..54b221f
--- /dev/null
+++ b/modules/mansimran/student_clubs/student_clubs.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains student_clubs.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function student_clubs_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the student_clubs module.
+ case 'help.page.student_clubs':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function student_clubs_theme() {
+ return [
+ 'student_clubs' => [
+ 'render element' => 'children',
+ ],
+ ];
+}