summaryrefslogtreecommitdiff
path: root/modules/mansimran/student_clubs/student_clubs.module
diff options
context:
space:
mode:
authorMansimran72019-07-02 12:16:59 +0530
committerMansimran72019-07-02 12:16:59 +0530
commit4e585c030ed6b5ea73b77a696a78f8855d9a26d8 (patch)
treea9dd98d2648c35aa2357eb7bc473469f6cc8d417 /modules/mansimran/student_clubs/student_clubs.module
parent3ad1b8d590d7d11d83e8c923970690900dc31f70 (diff)
downloadacadmix_distribution-4e585c030ed6b5ea73b77a696a78f8855d9a26d8.tar.gz
acadmix_distribution-4e585c030ed6b5ea73b77a696a78f8855d9a26d8.tar.bz2
acadmix_distribution-4e585c030ed6b5ea73b77a696a78f8855d9a26d8.zip
pushing all custom modules
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',
+ ],
+ ];
+}