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