diff options
Diffstat (limited to 'modules/kalpesh/members/members.module')
-rw-r--r-- | modules/kalpesh/members/members.module | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/kalpesh/members/members.module b/modules/kalpesh/members/members.module new file mode 100644 index 0000000..035d5c0 --- /dev/null +++ b/modules/kalpesh/members/members.module @@ -0,0 +1,35 @@ +<?php + +/** + * @file + * Contains members.module. + */ + +use Drupal\Core\Routing\RouteMatchInterface; + +/** + * Implements hook_help(). + */ +function members_help($route_name, RouteMatchInterface $route_match) { + switch ($route_name) { + // Main module help for the members module. + case 'help.page.members': + $output = ''; + $output .= '<h3>' . t('About') . '</h3>'; + $output .= '<p>' . t('This modole store members details') . '</p>'; + return $output; + + default: + } +} + +/** + * Implements hook_theme(). + */ +function members_theme() { + return [ + 'members' => [ + 'render element' => 'children', + ], + ]; +} |