function addanother_help in Add Another 6
Same name and namespace in other branches
- 8 addanother.module \addanother_help()
- 5 addanother.module \addanother_help()
- 7.2 addanother.module \addanother_help()
- 7 addanother.module \addanother_help()
Implementation of hook_help().
File
- ./
addanother.module, line 12 - Presents users with an option to create another node of the same type after a node is added.
Code
function addanother_help($path, $arg) {
$output = '';
switch ($path) {
case "admin/help#addanother":
$output = '<p>' . t("Presents users with an option to create another node of the same type after a node is added.") . '</p>';
return $output;
case 'admin/settings/addanother':
$output = 'Here you can select the content types for which an <em>"Add another..."</em> message will be displayed. After creating a new content node, users with the <a href="@addanother_perm">use add another</a> permission will receive a message allowing them to add another content node of the same type.';
return '<p>' . t($output, array(
'@addanother_perm' => url('admin/user/permissions', array(
'fragment' => 'module-addanother',
)),
)) . '</p>';
}
}