Skip to content

Commit 846a08b

Browse files
committed
Added new custom hook with help text. Eg. used from os2web_help to show help text on same help page.
1 parent 32b95b9 commit 846a08b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

os2web_meetings.module

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,13 @@ function _os2web_meetings_strip_words($text) {
189189
return FALSE;
190190
}
191191
}
192+
193+
/**
194+
* Implements hook_os2web_help().
195+
*/
196+
function os2web_meetings_os2web_help($sections) {
197+
198+
// Content types.
199+
$sections['contenttype'] = t('<p><b>Meetings:</b> Dependent on the system, meetings are often imported by a metting importer, which can communicate with your ESDH.<br />A meeting contains bullets which can contain attachments. These are all imported, and should not be altered directly on site.<br />See the <a href="@url" target="_blank">overview</a> over meetings.</p>', array('@url' => url('dagsorden-og-referat')));
200+
return $sections;
201+
}

0 commit comments

Comments
 (0)