diff options
Diffstat (limited to 'modules/bhavika/legal_forms/legal_forms.module')
-rw-r--r-- | modules/bhavika/legal_forms/legal_forms.module | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/bhavika/legal_forms/legal_forms.module b/modules/bhavika/legal_forms/legal_forms.module new file mode 100644 index 0000000..b4d6b12 --- /dev/null +++ b/modules/bhavika/legal_forms/legal_forms.module @@ -0,0 +1,35 @@ +<?php + +/** + * @file + * Contains legal_forms.module. + */ + +use Drupal\Core\Routing\RouteMatchInterface; + +/** + * Implements hook_help(). + */ +function legal_forms_help($route_name, RouteMatchInterface $route_match) { + switch ($route_name) { + // Main module help for the legal_forms module. + case 'help.page.legal_forms': + $output = ''; + $output .= '<h3>' . t('About') . '</h3>'; + $output .= '<p>' . t('Legal forms module is for various legal forms of site') . '</p>'; + return $output; + + default: + } +} + +/** + * Implements hook_theme(). + */ +function legal_forms_theme() { + return [ + 'legal_forms' => [ + 'render element' => 'children', + ], + ]; +} |