diff options
author | Fahad Israr | 2019-07-03 13:22:13 +0530 |
---|---|---|
committer | Fahad Israr | 2019-07-03 13:22:13 +0530 |
commit | fd04311179377ce2b4c5697be2ae2a2b51a1b2f3 (patch) | |
tree | 8fd529d45e37612de276b07be5caaa7335114c9a /modules/mansimran/programs/programs.module | |
parent | 35646d229739b283da6cf1e0958f1f7d28062442 (diff) | |
parent | 58dbf8fcb04c01c338b9e346b8266690c8b92a2f (diff) | |
download | acadmix_distribution-fd04311179377ce2b4c5697be2ae2a2b51a1b2f3.tar.gz acadmix_distribution-fd04311179377ce2b4c5697be2ae2a2b51a1b2f3.tar.bz2 acadmix_distribution-fd04311179377ce2b4c5697be2ae2a2b51a1b2f3.zip |
Merge branch 'master' of https://github.com/FOSSEE/acadmix_distribution
Diffstat (limited to 'modules/mansimran/programs/programs.module')
-rwxr-xr-x | modules/mansimran/programs/programs.module | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/mansimran/programs/programs.module b/modules/mansimran/programs/programs.module new file mode 100755 index 0000000..ee88e2b --- /dev/null +++ b/modules/mansimran/programs/programs.module @@ -0,0 +1,35 @@ +<?php + +/** + * @file + * Contains programs.module. + */ + +use Drupal\Core\Routing\RouteMatchInterface; + +/** + * Implements hook_help(). + */ +function programs_help($route_name, RouteMatchInterface $route_match) { + switch ($route_name) { + // Main module help for the programs module. + case 'help.page.programs': + $output = ''; + $output .= '<h3>' . t('About') . '</h3>'; + $output .= '<p>' . t('My Awesome Module') . '</p>'; + return $output; + + default: + } +} + +/** + * Implements hook_theme(). + */ +function programs_theme() { + return [ + 'programs' => [ + 'render element' => 'children', + ], + ]; +} |