summaryrefslogtreecommitdiff
path: root/modules/esha/programs/programs.module
diff options
context:
space:
mode:
authorEsha2019-07-02 12:42:54 +0530
committerEsha2019-07-02 12:43:10 +0530
commit141ce8c97abe36f1f8bb06a38623e93563d6c618 (patch)
tree2086c9224072aa7b917da20487b232eb2ef0666e /modules/esha/programs/programs.module
parent847360bf5ac011771dc013677542ece7b356a528 (diff)
downloadacadmix_distribution-141ce8c97abe36f1f8bb06a38623e93563d6c618.tar.gz
acadmix_distribution-141ce8c97abe36f1f8bb06a38623e93563d6c618.tar.bz2
acadmix_distribution-141ce8c97abe36f1f8bb06a38623e93563d6c618.zip
Custom modules
Diffstat (limited to 'modules/esha/programs/programs.module')
-rw-r--r--modules/esha/programs/programs.module35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/esha/programs/programs.module b/modules/esha/programs/programs.module
new file mode 100644
index 0000000..4909c34
--- /dev/null
+++ b/modules/esha/programs/programs.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains programs.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function programs_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the programs module.
+ case 'help.page.programs':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('Module for Content Type Programs Offered') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function programs_theme() {
+ return [
+ 'programs' => [
+ 'render element' => 'children',
+ ],
+ ];
+}