function module_weights_help in Util 6.3
Same name and namespace in other branches
- 6.2 module_weights.module \module_weights_help()
Implements hook_help().
File
- ./
module_weights.module, line 11 - Allows module weights to be viewed and edited.
Code
function module_weights_help($path, $arg) {
$output = '';
switch ($path) {
case 'admin/help#module_weights':
$output .= '<p>' . t('Drupal assigns each module a weight. For most operations involving any module that defines a particular hook, the modules are invoked in order first by weight, then by name.') . '</p>';
$output .= '<p>' . t('This module adds a weight column to the modules table at !modules, allowing weights to be viewed and edited. Once activated, a weight column appears on the modules table. To change a module weight, edit its value and press "Save configuration". Any user who can submit the !modules form will be able to change module weights.', array(
'!modules' => l('admin/build/modules', 'admin/build/modules'),
)) . '</p>';
break;
case 'admin/build/modules':
$output .= '<p>' . t('For more information on module weights, see <a href="!url">Drupal.org</a>.', array(
'!url' => 'http://drupal.org/node/110238',
)) . '</p>';
break;
}
return $output;
}