You are here

function image_import_help in Image 5

Same name and namespace in other branches
  1. 5.2 contrib/image_import/image_import.module \image_import_help()
  2. 6 contrib/image_import/image_import.module \image_import_help()
  3. 7 contrib/image_import/image_import.module \image_import_help()

Implementation of hook_help().

File

contrib/image_import/image_import.module, line 6

Code

function image_import_help($section = '') {
  switch ($section) {
    case 'admin/content/image_import':
      $output = '<p>' . t("Import multiple image files and save them as image nodes. The files will be moved from their location into the image module's files directory. ") . t("Searching for image files in %dirpath.", array(
        '%dirpath' => realpath(variable_get('image_import_path', '')),
      )) . '</p>';
      return $output;
    case 'admin/settings/image_import':
      return t("Configure the image import module's settings.");
    default:
      return null;
  }
}