summaryrefslogtreecommitdiff
path: root/modules/bhavika/legal_forms1/legal_forms1.module
blob: b3621f3a3cda6da1e54ee752edf343b0e7e47955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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',
    ],
  ];
}