This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
opencase/modules/opencase_search/opencase_search.module

36 lines
686 B
Plaintext
Raw Normal View History

2018-04-29 12:38:10 +00:00
<?php
/**
* @file
* Contains opencase_search.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function opencase_search_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the opencase_search module.
case 'help.page.opencase_search':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Search functionality for OpenCase') . '</p>';
return $output;
default:
}
}
/**
* Implements hook_theme().
*/
function opencase_search_theme() {
return [
'opencase_search' => [
'render element' => 'children',
],
];
}