From 141ce8c97abe36f1f8bb06a38623e93563d6c618 Mon Sep 17 00:00:00 2001 From: Esha Date: Tue, 2 Jul 2019 12:42:54 +0530 Subject: Custom modules --- modules/esha/onlinecourse/onlinecourse.module | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 modules/esha/onlinecourse/onlinecourse.module (limited to 'modules/esha/onlinecourse/onlinecourse.module') diff --git a/modules/esha/onlinecourse/onlinecourse.module b/modules/esha/onlinecourse/onlinecourse.module new file mode 100644 index 0000000..617de66 --- /dev/null +++ b/modules/esha/onlinecourse/onlinecourse.module @@ -0,0 +1,35 @@ +' . t('About') . ''; + $output .= '
' . t('My Awesome Module') . '
'; + return $output; + + default: + } +} + +/** + * Implements hook_theme(). + */ +function onlinecourse_theme() { + return [ + 'onlinecourse' => [ + 'render element' => 'children', + ], + ]; +} -- cgit