You are here

function asset_import_help in Asset 5

Same name and namespace in other branches
  1. 5.2 contrib/asset_import/asset_import.module \asset_import_help()
  2. 6 asset_import/asset_import.module \asset_import_help()
  3. 6 contrib/asset_import/asset_import.module \asset_import_help()

Implementation of hook_help().

File

asset_import/asset_import.module, line 8

Code

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