function backup_migrate_help_section in Backup and Migrate 7.3
Helper function for HOOK_help() to create parts of the help page.
1 call to backup_migrate_help_section()
- backup_migrate_help in ./
backup_migrate.module - Implements hook_help().
File
- ./
backup_migrate.module, line 106 - Backup and restore databases for Drupal.
Code
function backup_migrate_help_section($title, $section, $more = NULL, $access_arguments = array()) {
$show_this = TRUE;
$help = '';
foreach ($access_arguments as $access) {
$show_this = $show_this && user_access($access);
}
if ($show_this) {
$help = '';
$help .= '<h3>' . l($title, $section) . '</h3>';
$help .= '<p>' . backup_migrate_help($section, NULL) . '</p>';
if ($more !== NULL) {
$help .= '<p>' . $more . '</p>';
}
}
return $help;
}