You are here

function asset_import_help in Asset 5.2

Same name and namespace in other branches
  1. 5 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

contrib/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 chosen asset module's 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;
  }
}