summaryrefslogtreecommitdiff
path: root/modules/kalpesh/club/club.module
diff options
context:
space:
mode:
authoroskkw2019-07-03 17:29:48 +0530
committeroskkw2019-07-03 17:29:48 +0530
commit973ac75b1994043360b8e62cd0c83461310ee728 (patch)
tree445a92ce631b794ed9f501a1602a144052e29068 /modules/kalpesh/club/club.module
parent58dbf8fcb04c01c338b9e346b8266690c8b92a2f (diff)
downloadacadmix_distribution-973ac75b1994043360b8e62cd0c83461310ee728.tar.gz
acadmix_distribution-973ac75b1994043360b8e62cd0c83461310ee728.tar.bz2
acadmix_distribution-973ac75b1994043360b8e62cd0c83461310ee728.zip
custom module added
Diffstat (limited to 'modules/kalpesh/club/club.module')
-rw-r--r--modules/kalpesh/club/club.module35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/kalpesh/club/club.module b/modules/kalpesh/club/club.module
new file mode 100644
index 0000000..152525d
--- /dev/null
+++ b/modules/kalpesh/club/club.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains club.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function club_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the club module.
+ case 'help.page.club':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function club_theme() {
+ return [
+ 'club' => [
+ 'render element' => 'children',
+ ],
+ ];
+}