summaryrefslogtreecommitdiff
path: root/modules/fahad/academic_calendar_content/academic_calendar_content.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fahad/academic_calendar_content/academic_calendar_content.module')
-rw-r--r--modules/fahad/academic_calendar_content/academic_calendar_content.module35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/fahad/academic_calendar_content/academic_calendar_content.module b/modules/fahad/academic_calendar_content/academic_calendar_content.module
new file mode 100644
index 0000000..9b4e25a
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/academic_calendar_content.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains academic_calendar_content.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function academic_calendar_content_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the academic_calendar_content module.
+ case 'help.page.academic_calendar_content':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('Academic Calendar Content Type') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function academic_calendar_content_theme() {
+ return [
+ 'academic_calendar_content' => [
+ 'render element' => 'children',
+ ],
+ ];
+}