summaryrefslogtreecommitdiff
path: root/modules/bhavika/company/company.module
diff options
context:
space:
mode:
authorFahad Israr2019-07-03 13:22:13 +0530
committerFahad Israr2019-07-03 13:22:13 +0530
commitfd04311179377ce2b4c5697be2ae2a2b51a1b2f3 (patch)
tree8fd529d45e37612de276b07be5caaa7335114c9a /modules/bhavika/company/company.module
parent35646d229739b283da6cf1e0958f1f7d28062442 (diff)
parent58dbf8fcb04c01c338b9e346b8266690c8b92a2f (diff)
downloadacadmix_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/bhavika/company/company.module')
-rw-r--r--modules/bhavika/company/company.module35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/bhavika/company/company.module b/modules/bhavika/company/company.module
new file mode 100644
index 0000000..b060f46
--- /dev/null
+++ b/modules/bhavika/company/company.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains company.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function company_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the company module.
+ case 'help.page.company':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('Company module is for companies content type for placements') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function company_theme() {
+ return [
+ 'company' => [
+ 'render element' => 'children',
+ ],
+ ];
+}