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_defaults/opencase_defaults.module

39 lines
756 B
Plaintext
Raw Normal View History

<?php
/**
* @file
* Contains opencase_defaults.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\user\Entity\Role;
use Drupal\user\RoleInterface;
/**
* Implements hook_help().
*/
function opencase_defaults_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the opencase_defaults module.
case 'help.page.opencase_defaults':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('OpenCase Default Configuration') . '</p>';
return $output;
default:
}
}
/**
* Implements hook_theme().
*/
function opencase_defaults_theme() {
return [
'opencase_defaults' => [
'render element' => 'children',
],
];
}