pm.module in Drupal PM (Project Management) 4.x
Same filename and directory in other branches
Contains pm_board.module.
File
pm.moduleView source
<?php
/**
* @file
* Contains pm_board.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function pm_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the pm module.
case 'help.page.pm':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Drupal PM') . '</p>';
return $output;
default:
}
}
/**
* Implements hook_theme().
*/
function pm_theme() {
$theme = [];
$theme['pm_dashboard'] = [
'render element' => 'elements',
'template' => 'pm-dashboard',
'variables' => [
'items' => [],
],
];
return $theme;
}
Functions
Name | Description |
---|---|
pm_help | Implements hook_help(). |
pm_theme | Implements hook_theme(). |