function recipe_help in Recipe 7
Same name and namespace in other branches
- 5 recipe.module \recipe_help()
- 6 recipe.module \recipe_help()
- 7.2 recipe.module \recipe_help()
Implements hook_help().
1 string reference to 'recipe_help'
- recipe_admin_settings in ./
recipe.admin.inc - Page callback: Constructs a form for configuring the Recipe module.
File
- ./
recipe.module, line 14 - Contains functions for Recipe node CRUD and display.
Code
function recipe_help($path, $arg) {
switch ($path) {
case 'node/add/recipe':
return variable_get('recipe_help', '');
case 'admin/structure/recipe':
$output = '<p>' . t('You can enable/disable bulk export formats on the <a href="@modules-page">modules page</a> in the recipes section.', array(
'@modules-page' => url('admin/modules', array(
'fragment' => 'edit-modules-recipe',
)),
)) . '</p>';
return $output;
case 'admin/structure/recipe/import_multi':
$output = '<p>' . t('You can enable/disable bulk import formats on the <a href="@modules-page">modules page</a> in the recipes section.', array(
'@modules-page' => url('admin/modules', array(
'fragment' => 'edit-modules-recipe',
)),
)) . '</p>';
return $output;
}
}