summaryrefslogtreecommitdiff
path: root/modules/bhavika/legal_forms1/legal_forms1.module
diff options
context:
space:
mode:
authorBhavika-keswani2019-07-02 12:41:45 +0530
committerBhavika-keswani2019-07-02 12:41:45 +0530
commit565af64fc81211897625be2b000a28c910174edb (patch)
treec2f74ec442ddbcce89b9c0821d0820770402cd51 /modules/bhavika/legal_forms1/legal_forms1.module
parent3ad1b8d590d7d11d83e8c923970690900dc31f70 (diff)
downloadacadmix_distribution-565af64fc81211897625be2b000a28c910174edb.tar.gz
acadmix_distribution-565af64fc81211897625be2b000a28c910174edb.tar.bz2
acadmix_distribution-565af64fc81211897625be2b000a28c910174edb.zip
Custom modules added
Diffstat (limited to 'modules/bhavika/legal_forms1/legal_forms1.module')
-rw-r--r--modules/bhavika/legal_forms1/legal_forms1.module35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/bhavika/legal_forms1/legal_forms1.module b/modules/bhavika/legal_forms1/legal_forms1.module
new file mode 100644
index 0000000..b3621f3
--- /dev/null
+++ b/modules/bhavika/legal_forms1/legal_forms1.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains legal_forms1.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function legal_forms1_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the legal_forms1 module.
+ case 'help.page.legal_forms1':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('Legal forms is module for forms of site') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function legal_forms1_theme() {
+ return [
+ 'legal_forms1' => [
+ 'render element' => 'children',
+ ],
+ ];
+}