function s3fs_help in S3 File System 7.3
Same name and namespace in other branches
- 7 s3fs.module \s3fs_help()
- 7.2 s3fs.module \s3fs_help()
Implements hook_help().
File
- ./
s3fs.module, line 155 - Hook implementations and other primary functionality for S3 File System.
Code
function s3fs_help($path, $arg) {
$actions = 'admin/config/media/s3fs/actions';
$settings = 'admin/config/media/s3fs';
if ($path == $settings) {
$msg = t('To perform actions such as refreshing the metadata cache, visit the !link.<br>
Disabled fields have been hard-coded in settings.php, and cannot be changed here. See the !README for details.', array(
'!link' => l(t('actions page'), $actions),
'!README' => l('README', drupal_get_path('module', 's3fs') . '/README.txt'),
));
return "<p>{$msg}</p>";
}
elseif ($path == $actions) {
$msg = t('These are the actions that you can perform upon S3 File System.');
$msg .= '<br>' . t('To change your settings, visit the !link.', array(
'!link' => l(t('settings page'), $settings),
));
return "<p>{$msg}</p>";
}
}