Skip to content

Commit cb2bba3

Browse files
committed
Added documentation.
1 parent 82c5ae4 commit cb2bba3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

os2web_adlib_api.module

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,3 +819,18 @@ function os2web_adlib_api_destroy_job($job_id) {
819819
watchdog('adlib_api', 'Deleted job for %fid', array('%fid' => $job_id));
820820
}
821821
}
822+
823+
/**
824+
* Implements hook_os2web_help().
825+
*/
826+
function os2web_adlib_api_os2web_help($sections) {
827+
828+
// List of content.
829+
$sections['list_of_content'] = t('<a href="#os2web_adlib_api">Adlib file conversion</a><br />');
830+
831+
// Module specific.
832+
$sections['os2web_adlib_api'] = t('<h2 id="os2web_adlib_api">Adlib file conversion:</h2>');
833+
$sections['os2web_adlib_api'] .= t('<p><b>Description:</b> Adlib is a file conversion unit on your network. This module is often used to convert misc files to either .html or .pdf files. See the status of the current queue of files at the <a href="@status" target="_blank">adlib status page</a>. You can requeue files for conversion at the <a href="@requeue" target="_blank">requeue page</a>.</p>', array('@status' => url('admin/config/os2web/adlibstatus'), '@requeue' => url('admin/config/os2web/reprocess')));
834+
835+
return $sections;
836+
}

0 commit comments

Comments
 (0)