jdrupal.module in jDrupal 8.0.x
Same filename and directory in other branches
Contains jdrupal.module..
File
jdrupal.moduleView source
<?php
/**
* @file
* Contains jdrupal.module..
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function jdrupal_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the jdrupal module.
case 'help.page.jdrupal':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The jDrupal 8 module.') . '</p>';
return $output;
default:
}
}
/**
* Implements hook_menu().
*/
function jdrupal_menu() {
$items['admin/config/services/jdrupal'] = array(
'title' => 'jDrupal',
'description' => 'The jDrupal config page.',
'route_name' => 'jdrupal.jdrupal_config',
);
return $items;
}
Functions
Name | Description |
---|---|
jdrupal_help | Implements hook_help(). |
jdrupal_menu | Implements hook_menu(). |