From 96794064b20917436ce73aedf015a9d53e8d00fb Mon Sep 17 00:00:00 2001 From: Fahad Israr Date: Tue, 2 Jul 2019 12:21:29 +0530 Subject: Custom Modules Added --- modules/fahad/facility/facility.module | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 modules/fahad/facility/facility.module (limited to 'modules/fahad/facility/facility.module') diff --git a/modules/fahad/facility/facility.module b/modules/fahad/facility/facility.module new file mode 100644 index 0000000..ee4bd23 --- /dev/null +++ b/modules/fahad/facility/facility.module @@ -0,0 +1,35 @@ +' . t('About') . ''; + $output .= '
' . t('My Awesome Module') . '
'; + return $output; + + default: + } +} + +/** + * Implements hook_theme(). + */ +function facility_theme() { + return [ + 'facility' => [ + 'render element' => 'children', + ], + ]; +} -- cgit