summaryrefslogtreecommitdiff
path: root/modules/mansimran/administrative_offices/administrative_offices.module
blob: 125d9da063e47dcd3d29b39a564ccceaf2079731 (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 administrative_offices.module.
 */

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function administrative_offices_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    // Main module help for the administrative_offices module.
    case 'help.page.administrative_offices':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Administrative offices content type') . '</p>';
      return $output;

    default:
  }
}

/**
 * Implements hook_theme().
 */
function administrative_offices_theme() {
  return [
    'administrative_offices' => [
      'render element' => 'children',
    ],
  ];
}