5 * Contains yaffs_dash.module.
8 use Drupal\Core\Routing\RouteMatchInterface;
11 * Implements hook_help().
13 function yaffs_dashboard_help($route_name, RouteMatchInterface $route_match) {
14 switch ($route_name) {
15 // Main module help for the yaffs_dash module.
16 case 'help.page.yaffs_dashboard':
18 $output .= '<h3>' . t('About') . '</h3>';
19 $output .= '<p>' . t('Yaffs Dashboard helps to manage the Yaffs site') . '</p>';
27 * Implements hook_theme().b
29 function yaffs_dashboard_theme() {
32 'template' => 'yaffs_dashboard',
33 'render element' => 'children',