summaryrefslogtreecommitdiff
path: root/modules/mansimran/sae_teams/sae_teams.module
diff options
context:
space:
mode:
authorNitesh Kumar Sinha2019-07-02 12:18:29 +0530
committerGitHub2019-07-02 12:18:29 +0530
commit847360bf5ac011771dc013677542ece7b356a528 (patch)
treee11370475afe87870b8efa2aa8d242a7563329dd /modules/mansimran/sae_teams/sae_teams.module
parent6b65fd6d7fda826b967442aabb10ead6197aa4b2 (diff)
parent4e585c030ed6b5ea73b77a696a78f8855d9a26d8 (diff)
downloadacadmix_distribution-847360bf5ac011771dc013677542ece7b356a528.tar.gz
acadmix_distribution-847360bf5ac011771dc013677542ece7b356a528.tar.bz2
acadmix_distribution-847360bf5ac011771dc013677542ece7b356a528.zip
Merge pull request #4 from Mansimran7/master
Mansimran - custom modules
Diffstat (limited to 'modules/mansimran/sae_teams/sae_teams.module')
-rw-r--r--modules/mansimran/sae_teams/sae_teams.module35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/mansimran/sae_teams/sae_teams.module b/modules/mansimran/sae_teams/sae_teams.module
new file mode 100644
index 0000000..2b7e12a
--- /dev/null
+++ b/modules/mansimran/sae_teams/sae_teams.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains sae_teams.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function sae_teams_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the sae_teams module.
+ case 'help.page.sae_teams':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('sae teams content type import') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function sae_teams_theme() {
+ return [
+ 'sae_teams' => [
+ 'render element' => 'children',
+ ],
+ ];
+}