coder.module in Coder 7.2
Same filename and directory in other branches
Installation file for the Coder module.
File
coder.moduleView source
<?php
/**
* @file
* Installation file for the Coder module.
*/
/**
* Implements hook_menu().
*/
function coder_menu() {
$items['admin/config/development/coder'] = array(
'title' => 'Coder',
'description' => 'Select code review plugins and modules, and upgrade files.',
'page callback' => 'coder_display_required_module_message',
'access arguments' => array(
'administer site configuration',
),
);
return $items;
}
/**
* Returns form items for the required module message.
*
* @return array
* A form array for the required module message.
*/
function coder_display_required_module_message() {
$build['coder_message']['#markup'] = t('Please enable one or both of the "Coder Review" or "Coder Upgrade" modules.');
return $build;
}
Functions
Name | Description |
---|---|
coder_display_required_module_message | Returns form items for the required module message. |
coder_menu | Implements hook_menu(). |