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