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/article/article.module | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 modules/fahad/article/article.module (limited to 'modules/fahad/article/article.module') diff --git a/modules/fahad/article/article.module b/modules/fahad/article/article.module new file mode 100644 index 0000000..f367abe --- /dev/null +++ b/modules/fahad/article/article.module @@ -0,0 +1,35 @@ +' . t('About') . ''; + $output .= '
' . t('My Awesome Module') . '
'; + return $output; + + default: + } +} + +/** + * Implements hook_theme(). + */ +function article_theme() { + return [ + 'article' => [ + 'render element' => 'children', + ], + ]; +} -- cgit