You are here

function recipe_help in Recipe 7.2

Same name and namespace in other branches
  1. 5 recipe.module \recipe_help()
  2. 6 recipe.module \recipe_help()
  3. 7 recipe.module \recipe_help()

Implements hook_help().

1 string reference to 'recipe_help'
recipe_update_7200 in ./recipe.install
Migrate the recipe_help variable to the recipe node type help setting.

File

./recipe.module, line 13
Contains functions for Recipe node CRUD and display.

Code

function recipe_help($path, $arg) {
  switch ($path) {
    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;
    case 'admin/config/content/recipe':
      return t('Configure the management and display of recipes.');
  }
}