diff options
author | Fahad Israr | 2019-07-02 12:21:29 +0530 |
---|---|---|
committer | Fahad Israr | 2019-07-02 12:21:29 +0530 |
commit | 96794064b20917436ce73aedf015a9d53e8d00fb (patch) | |
tree | a5240a2a6e5c148ae7a95d9652aa6dee219e820b /modules/fahad/bog_meetings/bog_meetings.module | |
parent | 3ad1b8d590d7d11d83e8c923970690900dc31f70 (diff) | |
download | acadmix_distribution-96794064b20917436ce73aedf015a9d53e8d00fb.tar.gz acadmix_distribution-96794064b20917436ce73aedf015a9d53e8d00fb.tar.bz2 acadmix_distribution-96794064b20917436ce73aedf015a9d53e8d00fb.zip |
Custom Modules Added
Diffstat (limited to 'modules/fahad/bog_meetings/bog_meetings.module')
-rw-r--r-- | modules/fahad/bog_meetings/bog_meetings.module | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/fahad/bog_meetings/bog_meetings.module b/modules/fahad/bog_meetings/bog_meetings.module new file mode 100644 index 0000000..cf1a248 --- /dev/null +++ b/modules/fahad/bog_meetings/bog_meetings.module @@ -0,0 +1,35 @@ +<?php + +/** + * @file + * Contains bog_meetings.module. + */ + +use Drupal\Core\Routing\RouteMatchInterface; + +/** + * Implements hook_help(). + */ +function bog_meetings_help($route_name, RouteMatchInterface $route_match) { + switch ($route_name) { + // Main module help for the bog_meetings module. + case 'help.page.bog_meetings': + $output = ''; + $output .= '<h3>' . t('About') . '</h3>'; + $output .= '<p>' . t('Bog Meetings') . '</p>'; + return $output; + + default: + } +} + +/** + * Implements hook_theme(). + */ +function bog_meetings_theme() { + return [ + 'bog_meetings' => [ + 'render element' => 'children', + ], + ]; +} |