diff options
author | Nitesh Kumar Sinha | 2019-07-02 13:08:31 +0530 |
---|---|---|
committer | GitHub | 2019-07-02 13:08:31 +0530 |
commit | 2ab059c88b1353a8e382f302ce9c2b6c2ef018ad (patch) | |
tree | 2086c9224072aa7b917da20487b232eb2ef0666e /modules/esha/placements/placements.module | |
parent | 847360bf5ac011771dc013677542ece7b356a528 (diff) | |
parent | 141ce8c97abe36f1f8bb06a38623e93563d6c618 (diff) | |
download | acadmix_distribution-2ab059c88b1353a8e382f302ce9c2b6c2ef018ad.tar.gz acadmix_distribution-2ab059c88b1353a8e382f302ce9c2b6c2ef018ad.tar.bz2 acadmix_distribution-2ab059c88b1353a8e382f302ce9c2b6c2ef018ad.zip |
Merge pull request #8 from eshadutta9/master
Esha "custom modules added"
Diffstat (limited to 'modules/esha/placements/placements.module')
-rw-r--r-- | modules/esha/placements/placements.module | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/esha/placements/placements.module b/modules/esha/placements/placements.module new file mode 100644 index 0000000..20f3371 --- /dev/null +++ b/modules/esha/placements/placements.module @@ -0,0 +1,35 @@ +<?php + +/** + * @file + * Contains placements.module. + */ + +use Drupal\Core\Routing\RouteMatchInterface; + +/** + * Implements hook_help(). + */ +function placements_help($route_name, RouteMatchInterface $route_match) { + switch ($route_name) { + // Main module help for the placements module. + case 'help.page.placements': + $output = ''; + $output .= '<h3>' . t('About') . '</h3>'; + $output .= '<p>' . t('Module for Placement Content Type') . '</p>'; + return $output; + + default: + } +} + +/** + * Implements hook_theme(). + */ +function placements_theme() { + return [ + 'placements' => [ + 'render element' => 'children', + ], + ]; +} |